Friday, 30 June 2017

OPERATING SYSTEM - What is Operating System - Single Processor System - Multi Processor System - Single Processor vs Multi Processor Systems - Advantages of Multi Processor Systems - Difference Between Symmetric and Asymmetric Multiprocessing - What is clustered Operating System - What is the use of Windows Clustering - Difference Between Single Processor Systems & Multiprocessor Systems - Operating System as a Resource allocator - What are the resources allocated by the operating system - What is System resource management and operating system - Operating System acts as a Resource Manager - Time Multiplexing - Space Multiplexing - Latest From Computer Science - Latest From Operating System


 If You Want to Buy Any Books Related To This Content click On that amazon word[YOU GET MORE DISCOUNTS HERE]  Amazon

An operating system (OS) is a system software that manages computer hardware and software resources and provides common services  for computer programs  All computer programs, excluding firmware, require an operating system to function.


Single Processor vs Multi Processor System

Single processor system


single-core processor is a microprocessor with a single core on a chip, running a single thread at any one time. The term became common after the emergence of multi-core processors (which have several independent processors on a singlechip) to distinguish non-multi-core designs.
  1. Maximum systems use single processor systems.
  2. Single Processor Systems perform only one process at a given time, and it carries out the next process in the queue only after the current process is completed.
  3. OS monitors the status of them and also sends them next executable instruction.
  4. It relieves CPU of disk scheduling and other tasks.
  5. It is suitable for general purpose computers , as it cannot run multiple processes in parallel.
                    single processor

Multi Processor System




Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system. The term also refers to the ability of asystem to support more than one processor or the ability to allocate tasks between them.


  1. Also known as parallel or tightly coupled systems as they can run multiple process in parallel to each other efficiently.
  2. Two or more processors will be in close communication with each other with shared memory, storage and power supply.
-->In these days rather than using multi processor systems, people tend to buy single processor with multiple cores. This can be more efficient as internal on-chip communication is faster than communication between different processors.
-->Multi-core processors also use less power than that of multiple single core processors.
     
              Multi Processor

Advantages Of Multi Processor Systems


Economy of scale

Multi Processor Systems cost less than a number of individual single processor system. In the case of multi processor system expenditure for system cabinet, memory power supply, accessories are saved as these systems share resources like power supply, memory and also space.

Increased throughput

As there are a number of processors, more work can be done in less time. These multiple processors run parallel to each other increasing the performance of the system.

Reliability and failure-free

Failure of any processor will not affect the functionality of the system, as there are a number of processors. We can expect failure free service from multi-processor system.

Difference Between Symmetric and Asymmetric Multiprocessing

There are two types of multiprocessing, Symmetric Multiprocessing and Asymmetric Multiprocessing. Multiprocessing system has more than one processor and they can execute multiple process simultaneously. In Symmetric Multiprocessing, processors shares the same memory. In Asymmetric Multiprocessing there is a one master processor that controls the data structure of the system. The primary difference between Symmetric and Asymmetric Multiprocessing is that in Symmetric Multiprocessing all the processor in the system run tasks in OS. But, in Asymmetric Multiprocessing only the master processor run task in OS.

Symmetric Vs Asymmetric Multiprocessing


BASIS FOR COMPARISONSYMMETRIC MULTIPROCESSINGASYMMETRIC MULTIPROCESSING
BasicEach processor run the tasks in Operating System.Only Master processor run the tasks of Operating System.
ProcessProcessor takes processes from a common ready queue, or there may be a private ready queue for each processor.Master processor assign processes to the slave processors, or they have some predefined processes.
ArchitectureAll processor in Symmetric Multiprocessing has the same architecture.All processor in Asymmetric Multiprocessing may have same or different architecture.
CommunicationAll processors communicate with another processor by a shared memory.Processors need not communicate as they are controlled by the master processor.
FailureIf a processor fails, the computing capacity of the system reduces.If a master processor fails, a slave is turned to the master processor to continue the execution. If a slave processor fails, its task is switched to other processors.
EaseSymmetric Multiprocessor is complex as all the processors need to be synchronized to maintain the load balance.Asymmetric Multiprocessor is simple as master processor access the data structure.

                                           OS

What is a clustered operating system?
A computer cluster consists of a set of loosely or tightly connected computers that work together so that, in many respects, they can be viewed as a single system. Unlike grid computers, computer clusters have each node set to perform the same task, controlled and scheduled by software.

Clustered systems are another form of multiprocessor system. This system also contains multiple processors but it differs from multiprocessor system. The clustered system is composed of multiple individual systems that connected together. In clustered system, also individual systems or computers share the same storage and liked to gather via local area network. A special type of software is known as cluster to control the node the systems.
Other form of clustered system includes parallel clusters and clustering over a wide area network. In parallel cluster multiple hosts can access the same data on the shared storage. So many operating systems provide this facility but some special software are also designed to run on a parallel cluster to share data. 


What is the use of Windows clustering?
A cluster is a group of independent computer systems, referred to as nodes, working together as a unified computing resource. A cluster provides a single name for clients to use and a single administrative interface, and it guarantees that data is consistent across nodes.

Difference Between Single Processor Systems & Multiprocessor Systems

Parameter
Single Processor Systems
Multiprocessor Systems
Description
If a System contains only one processor for processing than it is called single processor system.
If a System contains two or more than two processors for processing than it is called multiprocessor system.
Use of Co-Processors
Yes, Single Processors uses multiple Controllers that are designed to handle special tasks and can execute limited instruction sets. E.g. DMA Controller, North/South Bridge.
In Multi Processor Systems Two Types of approaches are Used:
1)      Symmetric Multiprocessing(SMP)
2)      Asymmetric Multiprocessing
In Asymmetric Multiprocessing one Processor works as Master and Second Processor act as Slave
And in Symmetric Multiprocessingeach processor performs all the tasks within the operating system.
Throughput
Throughput of Single Processor Systems is less than Multiprocessor Systems Because each and every task is performed by the same processor.
Throughput of Multiprocessor systems is greater than single processor systems. If a System Contains N Processors
than its throughput will be slightly less than N because synchronization must be maintained between two processors and they also share resource which increases certain amount of overhead.
Cost Economic
Single Processor Systems cost more because each processor requires separate resources.i.e. Mass Storage, Peripherals, Power Supplies etc.
Multiprocessor Systems cost less than equivalent multiple single processor systems because they uses same resources on sharing basis.
Design Process
It is Easy to design Single Processor Systems.
It is difficult to design Multi Processor Systems because Synchronization must be maintained between processors otherwise it may result in overloading of one processor and another processor may remain idle on the same time.
Reliability
Less reliable because failure in one processor will result in failure of entire system.
More reliable because failure of one processor does not halt the entire system but only speed will be slow down.
Examples
Most of Modern PCs.
Blade Servers.



OS as a Resource allocater
An operating system is a program that manages the computer hardware.The OS acts as a manager for these resources so it is viewed as a resource allocator. The OS is viewed as a control program because it manages the execution of user programs to prevent errors & improper use of the computer.

What are the resources allocated by the operating system?
In computing, resource allocation is necessary for any application to be run on thesystem. When the user opens any program this will be counted as a process, and therefore requires the computer to allocate certain resources for it to be able to run.

What is system resource management and operating system?
Resource management is the dynamic allocation and de-allocation by anoperating system of processor cores, memory pages, and various types of bandwidth to computations that compete for those resources. The objective is to allocate resources so as to optimize responsiveness subject to the finite resourcesavailable.


 operating system acts as a Resource Manager

Modern computers consist of processors, memories, timers, disks, mice, network interfaces, printers, and a wide variety of other devices. In the alternative view, the job of the operating system is to provide for an orderly and controlled allocation of the processors, memories, and input/output devices among the various programs competing for them.
When a computer (or network) has multiple users, the need for managing and protecting the memory, input/output devices, and other resources is even greater, since the users might otherwise interface with one another. In addition, users often need to share not only hardware, but information (files, databases, etc.) as well. In short, this view of the operating system holds that its primary task is to keep track of which programs are using which resources, to grant resource requests, to account for usage, and to mediate conflicting requests from different programs and users.
Resource management includes multiplexing (sharing) resources in two different ways:
  1. Time Multiplexing
  2. Space Multiplexing
1. Time Multiplexing
When the resource is time multiplexed, different programs or users take turns using it. First one of them gets to use the resource, then another, and so on.
For example:
With only one CPU and multiple programs that want to run on it, operating system first allocates the CPU to one long enough, another one gets to use the CPU, then another and ten eventually the first one again.
Determining how the resource is time multiplexed – who goes next and for how long – is the task of the operating system.
2. Space Multiplexing
In space multiplexing, instead of the customers taking turns, each one gets part of the resource.
For example:

Main memory is normally divided up among several running programs, so each one can be resident at the same time (for example, in order to take turns using the CPU). Assuming there is enough memory to hold multiple programs, it is more efficient to hold several programs in memory at once rather than give one of them all of it, especially if it only needs a small fraction of the total. Of course, this raises issues of fairness, protection, and so on, and it is up to the operating system to solve them.

New 160 CC Pulsar From Bajaj - pulsar NS160 160 cc Launched - Latest From Bajaj - Latest From Auto Mobiles





Bajaj Auto on Friday announced the launch of 160cc Pulsar NS160 in the country, priced at Rs 80,648 (ex-showroom, Mumbai).

The new generation Pulsar NS 160 caters to the fast- growing segment of customers who seek premium quality, international style and performance, Bajaj Auto said in a statement.

"The new generation Pulsar NS160 offers a combination of raw power, aggressive styling and superior performance that no other bike in its segment can match," Bajaj Auto President, Motorcycles, Eric Vas said.

The bike is designed to cater to the young and dynamic motorcycle enthusiast who is "evolved, restless and demands performance and style in his everyday riding routine", he added.

"Today, 70 per cent of the sports biking segment is dominated by the 150-160 cc Motorcycles The NS160 will target a fast-growing segment of customers who want to stay in this cc band, but need the best in technology and performance," Vas said.

With the launch of NS160, the company aims to strengthen its leadership in sports motorcycles, he added.
                                      

After Living Together For 10 Year's - Now Messi is To Marry Roccuzzo - Both are Living Together For 10 Years - Already Messi and Roccuzzo Have Two Children Together -All Set To Football Star Player Lionel Messi Wedding - All you need to know about Messi's Wedding - Latest From Football - Latest From Lionel Messi



 
             




The Barcelona player is returning to the city of Rosario to wed Antonella Roccuzzo, whom he met there before he moved to Spain aged 13.
Argentine newspaper Clarín has called it "the wedding of the year" and even "the wedding of the century".
Messi's teammates, including Luis Suárez and Neymar, will be among the 260 guests, it said.
Many have flown in on private jets.
Extra police officers have been drafted in to ensure security is maintained around the hotel, while a private security firm will work inside to keep out any potential gatecrashers.
Around 150 journalists have received accreditation to enter a special press area, but will not have full access to the venue, said organisers.
Messi, 30, met his future wife when he was just five years old.
She is the cousin of his best friend, Lucas Scaglia, who also became a professional football player.
Messi accepted an offer to play for Barcelona when he was 13, on condition they pay for treatment for his growth hormone deficiency.
He has spoken about the difficulties he faced on leaving behind his loved ones and former club.
The couple, who now live in Barcelona, have two sons together.
In May, his appeal against a 21-month jail term for tax evasion in Spain was rejected. He is unlikely to go to prison as the sentence can be served under probation or possibly avoided by paying a fine.
The event will take place at Rosario's City Center hotel complex, which has an adjoining casino.
Ms Roccuzzo, 29, is expected to wear a dress by Rosa Clara, a Barcelona-based designer who has dressed actress Eva Longoria and Spain's Queen Letizia.
Aside from a "sushi station", the menu is a very Argentine affair, including empanadas (traditional pasties) and all parts of the cow, from a casserole of sweetbreads to blood sausage.
Messi is reported to have invited the Barcelona squad, including Gerald Piqué and his pop-star wife Shakira.

Barcelona heroes Xavi, Samuel Eto'o and Carles Puyol all touch down in Argentina ahead of Lionel Messi and Antonella Roccuzzo's wedding

Teammates from Argentina's national team, including Sergio Agüero, will also be present.
Clarín reported that he has not invited any of his recent coaches, including Pep Guardiola, who is now at Manchester City.
Argentina's other big football legend, Diego Maradona, is also not on the list, according to the local press.
With football stars and celebrities attending the wedding, security will be high at the venue. Security will be handled by a private team of Israeli specialists used by Messi for all his excursions.
The port city of Rosario sits on the banks of the Paraná, about 300km north-west of Buenos Aires in the centre of the country.
Another famous Argentine to have spent his early years here is Ernesto "Che" Guevara.
Messi is known locally simply as Lío.
He has been a local hero since his days as a star player for Newell's Old Boys.
The team has a staunch rivalry with nearby Rosario Central, similar to that of Boca Juniors and River Plate in Buenos Aires.
Since moving to Spain, Messi has won a record-breaking five Fifa Ballon d'Or awards.
                                   

Thursday, 29 June 2017

ICC 2017 WOMEN'S WORLD CUP - Indian Womens beat Wesi Indies by 7 Wickets - Latest from World Cricket - Indian Women's Hit's the Show Once Again













Smriti Mandhana scored 106 off 108 ball

Mithali Raj scored 46 off 88 balls

India will play Pakistan on July 2

India vs West Indies, ICC Women’s World Cup 2017: India beat West Indies by 7 wickets


The Indian women’s won their second consecutive game on the trot after beating West Indies in the ICC Women’s World Cup. Set a target of 184 India chased down the total with more than seven overs to spare, thanks to a brilliant hundred from Smriti Mandhana. Deservedly she was awarded the player of the match award.
On a pretty dry looking wicket which showed signs of breaking up, Indian skipper Mithali Raj won the toss and put into bat the West Indies side got off to a decent start and at one stage were 69/2. But the Indians kept chipping away with wickets at regular intervals. Poonam Yadav, Harmanpreet Kumar and Deepti Sharma all bagged two wickets each. Ekta Bisht also grabbed one wicket.
It was the work of the slower Indian bowlers which did most of the damage and stemmed the flow of runs in check. In the middle overs, the opposition batsmen never got going. From 69/2 the Windies suddenly found themselves reeling at 146/8. A steady partnership by Shanel Daley (33) and Afy Fletcher (36) gave the West Indian bowlers a respectable total to bowl at.
When India came into bat they had a nervous start as they lost a couple of wickets within the first ten overs. But from thereon it was the Smriti Mandhana show. In an innings of 106 of 108 balls, she hit the bowlers to all parts of the ground. She was ably supported at the other end by skipper Mithali Raj who scored a stoic 46 of 88 deliveries. Together they saw India to safety and the game was won with more than seven overs to spare.
West Indies Women Squad:
Hayley Matthews, Felicia Walters, Stafanie Taylor (c), Deandra Dottin, Merissa Aguilleira (wk), Kyshona Knight, Chedean Nation, Shanel Daley, Afy Fletcher, Anisa Mohammed, Shamilia Connell
India Women Squad: Punam Raut, Smriti Mandhana, Mithali Raj (c), Harmanpreet Kaur, Deepti Sharma, Mona Meshram, Shikha Pandey, Jhulan Goswami, Ekta Bisht, Sushma Verma (wk), Poonam Yadav.

I buy a Super Car With IPL Money, said Ben Stokes - Most Valuable Player - World's Leading All-Rounder - Rising Pune Supergiants - Latest From World Cricket


After getting a whopping 14.5 crore for the tenth edition of the Indian Premier League, Ben Stokes became the most valuable player , and that explains how he repaid the investment made in him. So when he was asked how exactly did he spend the money, he said that he spent some on buying a supercar, and the rest is still untouched. “You buy a flash new super car. And that’s it. I won’t be touching the rest for a long time,” Stokes said. 

England and world's leading all-rounder Ben Stokes became the costliest foreign recruit ever in the Indian Premier League when he was bought by Rising Pune Supergiants franchise for a whopping INR 14.5 crore (USD 2.16 million approx) during the players' auction for the tenth edition of the league. The New Zealand-born player is also the second highest paid active player in the IPL, behind Royal Challengers Bangalore skipper Virat Kohli. Stokes was instrumental in paving Pune's road to its maiden IPL final, where they eventually lost to two-time former champions Mumbai Indians.
However, the 26-year-old Stokes lived up to Pune's expectations and justified the big, fat pay cheque with some spectacular performances during the course of the IPL 2017. Stokes, who was only available till the round robin stage and missed the qualifiers as well as the final, ended up as the Pune's fifth highest run-getter and third highest wicket-taker. Stokes amassed 316 runs with the highest score of 103 not out and picked up 12 wickets with a best of 3 for 18. 

Stokes' accomplishments with both bat and ball made him one of the most talked-about and valued players during the season - giving him the crown of the best all-rounder in the world. He was also named as the player of the tournament
Now, Stokes is relishing the huge attention which has followed his success.

AP Confirms GROUP-1 Post For P V Sindhu - Now Sindhu is Going to Take Charge as Deputy Collector in Andhra Pradesh - It's Clear For P V Sindhu's appointment as Andhra Officer - Latest from P V Sindhu - Latest from APPSC



The Andhra Pradesh State Public Service Commission has given the green signal for the appointment of Olympics badminton silver medallist P.V. Sindhu as a Group-I officer.
The badminton player is soon expected to receive the letter of her appointment in the cadre of a revenue divisional officer, official sources said on Thursday.
Last month, the state legislature had passed a Bill amending the State Public Services Act to appoint Sindhu as a Group-1 officer in the government.
As any recruitment in public service has to be only through the APPSC, selection committee or employment exchange, the government had to amend the Andhra Pradesh (Regulation of Appointments to Public Services and Rationalization of Staff Pattern and Pay Structure) Act, 1994.

Chief Minister N. Chandrababu Naidu had announced in the State Assembly that the government intended to appoint Sindhu as the state's sports ambassador.
Following her success in the Olympics last year, Naidu had announced a cash reward of Rs 3 crore, a residential plot in Amaravati and Group-I officer's job.
As she was born in Hyderabad and had been living in the city, the Telangana government also presented a cash reward of Rs 5 crore and a residential plot.

Though Telangana too offered her a job, Sindhu accepted the offer of Andhra Pradesh, the native state of her parents.

BMW New Car - BMW 5 Series - Sachin Tendulkar launches new BMW 5 Series at RS 49.9 lakh - All New BMW 5 Series Models - Latest From BMW

BMW India launched the seventh generation BMW 5 Series luxury sedan in one petrol and three diesel variants, priced between Rs 49.9 lakh and Rs 61.3 lakh.

The BMW 5 Series will compete against the new Mercedes-Benz E Class, the Audi A6, the Jaguar XF, and the new entrants in the league -- the Lexus ES and the Volvo S90.


The BMW 5 Series is offered in three engine configurations – a 520i with a 2.0-litre petrol engine, a 520d with a 2.0-litre diesel engine and a 530d with a 3.0-litre diesel engine, all connected to an eight-speed automatic gearbox. The 530d is available in two variants – Luxuryline and M Sport.


It will compete against the new Mercedes-Benz E Class, the Audi A6, the Jaguar XF, and the new entrants in the league -- the Lexus ES and the Volvo S90, all of which are priced from Rs 52 to 75 lakh.
                              
Launching the new business sedan, Sachin Tendulkar said, “I loved driving the new 5 Series in London, especially its muscular looks and the intelligence. Features like gesture control and the touchscreen key are mesmerising and even my kids were amused by the sheer technology this new car offers.”

Vikram Pawah, president and CEO of BMW Group India, said the 5 Series contributes almost 30% to BMW’s sales in India, having sold more than 19,000 units since the German automaker entered India in 2007. More than 66,000 Bimmers are on the roads of India ever since, Pawah said.

BMW started making the new 5 Series at its Chennai plant on June 13. The plant has an annual production capacity of 11,000 units, where the Munich-headquartered automaker produces the BMW 1 Series, the BMW 3 Series, the BMW 3 Series Gran Turismo, the BMW 5 Series, the BMW 7 Series, the BMW X1, the BMW X3 and the BMW X5.
Niche products such as the BMW i8, the M Sports sedans and the M Sport Coupes and Compacts are imported as completely built units.
“We have further raised our commitment to Make in India by increasing the localisation of the BMW cars up to 50%,” the BMW India boss said at the launch.
BMW Group India holds three brands in India – the BMW, luxury small-car brand Mini and the BMW Motorrad sports bikes. Besides, BMW Financial Services also operates in the banking, finance and insurance sectors.
Globally, BMW celebrated its 100th year in 2016.

UK 2+2 extension visa.. Now it's officially announced

*Indian students thrilled with UK PM Boris Johnson reinstating post-study work visa. *UK brings back 2-year post-study work visa. UK'...