Saturday, January 25, 2020
The Process Control Management In Linux Information Technology Essay
The Process Control Management In Linux Information Technology Essay Linux began to develop in 1991 when a Finnish student, Linus Torvalds, wrote a tiny self-contained kernel for the 80396 processors. Linux source code was available free on the internet. Due to that Linux developed by many users from around the world. Linux is a free operating system and modern based on UNIX standards. A complete Linux system contains many components that were developed independently of Linux. The core of Linux operating system kernel is completely original, but it allows many existing free UNIX software to run, resulting in a complete UNIX compatible operating system free from proprietary code. Introduction A process is the basic context between all user activity and user-request within the operating system. Linux needs to use a process model familiar to other versions of UNIX to be compatible with them. Linux operates same as UNIX and differently few key places. Section 1: Operating Systems Process control management in Linux Processes and Threads Linux prepares a fork () system call with the customary functionality of replicating a process. Linux provide ability to create threads through the clone () system call. However, Linux cannot mark as different between processes and threads. Actually, Linux usually uses the term task when applying to a flow of control within a program. When clone () is requested, it is passed a group of flog that determine how much sharing is to take place between the parent and child duties. Thus, if clone () is approved the flags CLONE_FS, CL0NE_VM, CLONE_SIGHAND, and CLONE_FILES, the parent and child duties will share the same file-system information, the same memory space, the same signal handlers, and the same set of open files. Using clone () in this style same as creating a thread in other systems, since the parent duty shares most of resources with child duty. The lack of difference between processes and threads might be possible because Linux does not hold a entire process context within the main process data structure. It keeps the context within autonomous sub-contexts. The process data structure basically contains pointers to these other structures, so every number of processes able easily shares a sub-context through pointing to the same sub-context as suitable. The arguments to the clone () system command it which sub-contexts to copy, and which to share, when it makes a new process. The new process constantly is given a new personality and a new scheduling context; in accord with arguments passed, however, it may either make new process use the same sub-context data structures being used by the parent. The fork () system call si special case of clone () that duplicate all sub-context and nothing to share. Process Scheduling Scheduling is allocating CPU time to different tasks within an operating system. Commonly, being the running and interrupting of process are normal thinking about scheduling, but another aspect of scheduling is also important to Linux which is running of the various kernel tasks. Kernel tasks surround both tasks that are requested through a running process and tasks which execute internally on behalf of device driver. Linux has two separately different process-scheduling algorithms. First one is a time-sharing algorithm for fair, preemptive scheduling within multiple processes; the second one is designed for real-time task, where particular priorities are more important than fairness. The scheduling algorithm used for routine, time-sharing tasks received a major overhaul with version 2.5 of the kernel. Before version 2.5, the Linux kernel made a variation of the scheduling algorithm in traditional UNIX. Problems with the traditional UNIX are among other issues that it does not provide sufficient support for SMP systems and that it does not scale very well as the number of tasks on the system grows. The renovation of the scheduler kernel with version 2.5 now provides a scheduling algorithm that runs in constant time without consideration of the number of task on the system. The new process scheduler also provides reduced support for SMP, including processor affinity and load balancing, besides maintaining fairness and interactive tasks supporting. The Linux scheduler is a particular, priority-based algorithm with two priority ranges separately: a real-time range from 0 to 99 and a nice value ranging from 100 to 140. These two ranges map into universal priority scheme through numerically lower values indicate higher priorities. Linux assigns higher-priority tasks longer time quanta and vice-versa. Due to unique nature of the scheduler, this is suitable for Linux. A run able task is considered qualify for execution on the CPU while it has time remaining in its time slice. When a task has expended its time slice, it is considered expired and is not eligible for twice execution till all other tasks have also exhausted their time quanta. The kernel support s a list of all run-able tasks in a run-queue data structure. Due to its support for SMP, each processor maintains its own run-queue and schedules itself independently. Each run-queue includes two priority arrays which are active and expired. The active array contains all expired tasks and each of these priority arrays contains a list of tasks indexed according to priority. The scheduler selects the task with the highest priority from the active array for execution on the CPU. On some multiprocessor machines, this means that each processor on the single machine is scheduling the highest-priority task from its own run-queue structure. So when all tasks have expended their time slices which is th e active array is empty, the two priority arrays are replaced as the expired array becomes the active array and vice-versa. Tasks are allocated dynamic priorities that are based on the nice value minus or plus until value 5 based upon task interactivity. Whether a value is subtracted or added from a nice value task depends on the task interactivity. A taskà ¢Ã ¢Ã¢â¬Å¡Ã ¬Ã ¢Ã¢â¬Å¾Ã ¢s interactivity is determined by how long it has been sleeping during waiting for I/O. Tasks that are more communicating typically have longer sleep times and so are more probably to have an adjustment closer to -5, as the scheduler supports such interactive tasks. in an opposite manner tasks with shorter sleep times are in many cases more CPU-bound and therefore will have their priorities decreased. The recalculation of dynamic priority task happens when the task has depleted its time quantum and is to be moved to the expired array. Therefore, when the two arrays are exchanged, all tasks have been assigned in the new array to new priorities and similar time slice. Real-time scheduling in Linux is simpler still. Linux performs the two real-time scheduling classes required by POSIX.1b: first come, first served (FCFS) and round robin. Each process has a priority extra to its scheduling class in both of them. Processes of different priorities might be competed with one another to some extent in scheduling of time sharing; in real time scheduling, however, the scheduler most of the time runs the process with the highest priority. Among equal priority processes, it runs the process which has been waiting longest. The only difference between round robin and FCFS scheduling is that FCFS processes continue to run till they either exit or block, but a round robin process will be acquired after a while and will be moved to the end of the scheduling queue, thus, equal priority round-robin processes will automatically time-share between themselves. Unlike usual time-sharing tasks, real-time tasks are allocated static priorities. Real-time Linux scheduling is soft rather than hard real-time. The scheduler gives strict guarantees about the relative priorities of real time processes, beside the kernel does not offer any guarantees that how quickly a real time process will be scheduled once that process become run able. Section 2: Computer Systems Architecture Microprocessors Single-Processor Systems Most of computer systems use a single processor. The diversity of single-processor systems may be surprising, however, since these computer systems range from PDAs through mainframe systems. There is one main CPU capable of performing a general purpose instruction set on a single processor system that including instructions from user processes. Almost all computer systems have other special purpose processors as well. They may come through device specific processors, for example graphics controllers, disk and keyboard; or, on mainframes, they may come from of more general processors, such as I/O processors which move data quickly among the component of the system. All of these special purpose system processors run a CPU limited instruction set in most of the time and do not run user processes. Sometimes they are administered by the operating system, in that the operating system sends them quickly information about their next task and then monitors their status alternatively. For instance, a disk controller microprocessor in a system receives a sequence of requests from the main CPU and executes its own disk queue and scheduling algorithm. This arrangement releases the main CPU of the overhead of the disk scheduling. All the PCs contain a particular microprocessor in the keyboard to change the keystrokes into code to be dispatched to the CPU. In some systems special purpose processors are low-level ingredient built into the systemà ¢Ã ¢Ã¢â¬Å¡Ã ¬Ã ¢Ã¢â¬Å¾Ã ¢s hardware. The operating system cannot communicate correctly with these kinds of processors; they do their task independently. The use of special purpose microprocessors is usual and does not change a single processor system into a multiprocessor. However, the system is a single-processor system if there is only one general-purpose CPU. Multiprocessor Systems Although single processor systems are most ordinary, multiprocessor systems known as parallel systems are growing in importance also. These systems have two or more processors in close communication, sharing the computer bus and sometimes the clock. Multiprocessor systems in computers have three main advantages: Increased throughput: it is expected to get more work done in few time by increasing the number of processors. When multiple processors work together on a task, a specific amount of overhead is incurred relevant all the parts working well. Economy of scale: Multiprocessor systems can sometimes cost less than multiple single processor systems, because they can share accessories, mass storage and power supplies. If several programs tasks operate on the same set of data, it costs little money to store those data on one hard disk and to have all the processors share them than to have many systems with local disks or many copies of the data. Increased reliability: if tasks can be distributed properly among several processors, so the failure of one processor will not stop the whole of system, only slow it down. For example; if we have five processors and one fails, then rest of the remaining four processors can obtain a share of the work of failed processor. So, the entire system runs only five percent slower, and not failing altogether. Increased reliability of a system is critical in many programs. The capability to continue providing service balanced to the level of surviving computer hardware is called graceful degradation. Some computer systems go beyond graceful- degradation and known fault tolerant, because they can tolerate a failure of any single component and then continue operation. Fault tolerance requires demands a mechanism to permit the failure to be detected, examined, and, if possible, corrected. The system is composed of multiple pairs of CPUs working in lock step. Both processors in the pair perform each instruction and compare the results. One CPU of the pair is at fault, and both are stopped if the results differ. the process which was being performed is then moved to another pair of CPUs, thus, the instruction that failed is restarted. This way is expensive, since it involves special system hardware and considerable hardware duplication. These days the multiple processor systems in use are of two types. The first types systems use asymmetric multiprocessing, that each processor is assigned a specific task. Thus, a master processor controls the system; and the other processors take instructions or have predefined tasks from master. This plan defines a accurate master-slave relationship. The master system processor schedules tasks and then allocates work to the slave processors. The most common computer systems use symmetric multiprocessing (SMP) to process the task, in which each processor executes all tasks within the operating system. SMP means that all system processors are peers; and no any master slave relationship exists among processors. Solaris is a commercial version of UNIX designed by Sun Microsystems that is a model of the SMP systems. A Solaris system might be configured to activate many of processors, all running Solaris. The difference between asymmetric processors and symmetric multiprocessing may result from either hardware or software. Some special hardware can distinguish the multiple system processors, or the computer software can be written to permit only one master and multiple slaves. A recent trend in CPU design these days is to comprise multiple compute cores on a single chip. Essentially, these are multiprocessor chips. Twoà ¢Ã ¢Ã¢â¬Å¡Ã ¬way multi processor chips are becoming mainstreams, while N-way chips are going to be common in high end systems. Except architectural consideration such as memory, cache and bus, these multi-core CPUs look to the operating system. Lastly, blade servers are a recent development in which multiple processor boards systems, I/O boards and networking boards are placed in the same foundation. The difference between traditional multiprocessor systems and these is that each blade-processor boards are multiprocessor also, which makes difference between types of computers. In essence, those servers composed of multiple independent multiprocessor systems. Conclusion The Linux kernel is executed as a traditional en bloc kernel for performance reasons, but it is standardized enough in design to allow most drivers to be dynamically loaded and unloaded at run time. Linux is a well done multiuser system, arranging protection between processes and running multiple processes according to a time sharing scheduler. Recently produced processes can share selective parts of their execution environment through their parent processes, allowing multithreaded programming.
Friday, January 17, 2020
Book Report (the Titans Curse by Rick Rordan)
Percy Jackson The Titans Curse In this Percy Jackson and the Olympians book, it starts out when Thalia daughter of Zeus, Annabeth daughter or Athena, and Percy son of Poseidon set out to help Grover who found two really power full half bloods escort them back to camp have blood. But then they run into trouble when this really power monster shows up that works for Cronus tryââ¬â¢s to take Bianca and Nico the two really powerful other half bloods. Before there group was about to be defeated Artemis goddess of the hunt and the moon sun of Apollo shows up and rescues them with her huntresses. Also Annabeth saved them but in the process she falls off the cliff and they could not find her, little do they no that she was really just captured by Luke and Cronus, Bianca joined the hunt with Artemis and left Nico at camp half blood to train to become stronger. Artemis left her huntresses to go find the one monster that could destroy Olympus, while trying to find the monster she was captured by Cronus and needs to be rescued before the winter solstice so that she can convince the council that they need to go to war to prevent the titans rise. So a quest was given to Zoe who was the leader of the huntresses that they should go save Artemis before the winter solstice and when she went to go consult the Delphi Oracle it said ââ¬Å"five shall go west hunters and campers combined will not fail one shall be lost in the land without rain and another shall parish by a parents hand. â⬠So since Zoe was the quest leader she got to choose who goes with her, she chose three hunters and two campers but one of the hunters got sick so she couldnââ¬â¢t go so only four of them left for the quest Zoe Bianca, Thalia and Grover but then Percy wanted to go save Annabeth so he snuck off to save her. He ends up meeting up with and saves them from the monster that tries to kill them early. When the got to New Mexico (which is a land with out rain) they go into the gods junk yard and this giant mechanical robot thing comes to life and then Bianca jumped into the robot and defeated it but she was lost and could not be found. They had to go all the way from camp half blood which is right out side New York all the way to California. When they finally go to California the had to go up the mountain of the titans so it is really dangerous also the general is back which is cronusââ¬â¢s number one warrior you no the guy who holds up the sky atlas. When they get up there they see Annabeth laying on the ground over where you hold up the sky and Artemis holding up the sky they also see Luke and Atlas and an army behind them Percy Jackson did the naturally stupid thing and charged Atlas but cause of this curse that was put on Percy his weapon riptide failed him and so he ran over to where Artemis was holding up the sky and took the sky for her so that she could fight Atlas, While that was happening Thalia was fighting Luke after he was defeated by her, he tried to jump at her but her reflexes was to fast and she kicked him off the cliff with was like a 30 foot drop so he should have died but didnââ¬â¢t when Artemis was fighting Atlas she was defeated and before she was about to get seriously hurt Zoe jumped in the way and saved her, which gave Artemis enough time to get up and ready to fight again. In the mean time Zoe was seriously hurt and was about to die and everyone else was about to get defeated but then Artemis kicked Atlas under the sky again and so Percy jumped out of the way and so Atlas was stuck once again under the sky, but there was still a giant army that was surrounding them but out of no where Annabethââ¬â¢s dad which owned a plane came out and started shooting all the monsters with Celtic bronze bullets which gave Artemis enough time to call down a chariot and so they jumped in to get away. Zoe was still really injured and on her death bed. She ends up dieing and then they find out that Atlas was Zoeââ¬â¢s dad so she perished by a parents hand. When they get back to camp half blood Nico found out his sister died so he got really angry and ran off which on his way finds out he is the son of Hades. Up on mount Olympus on the winter solstice they end up finding the monster which was a harmless cow sea serpent and so if you sacrifice a harmless monster you g ain the power to over throw the gods, Artemis convinces the gods that they need to go to war with the titans.
Thursday, January 9, 2020
National Festivals - 2272 Words
3 National festivals Independence Day Independence Day, August 15, commemorates the day in 1947 when India achieved freedom from British rule. The day is celebrated to commemorate the birth of the world`s biggest democracy as a national festival. Till Independence, there is no true national festival that the whole country could take part of. Independence Day, beginning as a day to commemorate the greatest moment in Indian history, has now come to signify a feeling of nationalism, solidarity and celebration. Independence day is celebrated with flag hoisting ceremonies and cultural programs in the state capitals. The Prime Minister`s speech at the Red Fort in Delhi is the major highlight. All Government Organisations have a holiday, asâ⬠¦show more contentâ⬠¦The parade is succeeded by sports events in the afternoon. `At Home` functions at the Raj Bhavan, at the District Magistrate`s and at the SDM`s are followed by illumination of public buildings of the state capitals and administrative headquarters. Republic Day is gradually acquiring the status as that of the 4th of July in USA. The celebrations are universal, total and participatory, children take part in a big way. Variations in culture are displayed through colourful attires and folk dances. The traditional predominates along with a touch of modernity reflected in the display of might (latest defence gadgetry and acquisitions), technology and capabilities of growth in various sectors. The parade symbolizes the might; the tableaux are predominated by cultural motifs. The celebration is thus, homage to the past, the region and the nation that is a true republic and imposes nothing. The patriotic fervor of the Indian people on this day brings the whole country together even in her embedded diversity. Gandhi Jayanti Gandhi Jayanti, a national festival of India, is celebrated to mark the occasion of the birthday of Mahatma Gandhi, the Father of the Nation. It is celebrated on October 2, every year. It is one of the three official declared National Holidays of India and is observed in all its states and union territories. He is the man who played a significant role in achieving independence for India from the British Empire with his simplicity andShow MoreRelatedA Speech On Indian Festivals1336 Words à |à 6 PagesIndian Festivals General Purpose: To Inform Specific Purpose: After listening to my speech, my audience will have a better understanding of the scientific and practical explanations behind certain rituals and customs of Indian festivals. I. Introduction A. Many of us identify Indian festivals to be of colorful dresses and rituals, rainbow of food choices and lots of music and dancing. B. Have any of you ever wondered the reasons behind all this pomp and show? C. According to Kunzig from National GeographicRead Moreââ¬ËThe commercialization of festivals has eroded their real significance.ââ¬â¢ Express your views either for or against this statement887 Words à |à 4 PagesA festival is an occasion for rejoicing and celebration. It conjures up scenes of gaiety and merrymaking. It is an occasion for family rejoicing and community celebrations. Festivals break the monotony of life, bring peace and joy to the masses and above all promote social interaction and harmony. All nations have their religious and colorful festivals. Being a multi-religious, multilingual and multi-racial country, Indians celebrate a number of festivals all through the year. However, Indian Read MoreA Research Study Of Event Tourism1206 Words à |à 5 Pageswhich actively supports the events and festivals through strong recognition and sponsorship (South Australian Tourism Commission official website 2016). The study of Event tourism: definition, evolution and research (Getz 2007), identified the events play an important role in tourism, the events can be planned or unplanned, temporary in nature and purposive gathering of people. Events can be classified as different types: hallmark events, mega events, festival, arts events, sports events, businessRead MoreEssay on Planning a Successful Event2513 Words à |à 11 PagesSummary This report looks into the planning process of a food and drink festival held in Leeds. The report will be analysing the stages of the planning process chosen for this particular event, and it will be specifying the sector of the market in which will be targeted to attract to the festival. It will also be discussing issues which may occur before, during and after the event and how it is best dealt with to overcome any problems which may be endured. It will include how to best promoteRead MoreInternational Events - Evaluation1483 Words à |à 6 Pagestargets are set out by event organisers clearly and actions are then taken to achieve them. An evaluation is helpful in monitoring progress and giving an insight as to whether the event is developing in the right direction. According to one of the festival organisers, Warren Smith, a few of SurFestââ¬â¢s aims are for the menââ¬â¢s competition to become a 6 star event and increasing their prize money, as well as promoting Newcastle as a tourist destination and increasing community spirit. Therefore with theRead MoreEssay Woody Point Music Festival Case Study2089 Words à |à 9 Pagesï » ¿Woody Point Festival Case Analysis Introduction With its inception in 2004, the Writers at Woody Point Festival have become an ever increasingly popular annual literature festival for Newfoundlandââ¬â¢s west coast. The festival has grown each year and has now reached the point where council believes a formal marketing strategy and plan is necessary for the festivals short and long term economic sustainability in the ever-increasingly competitive literature festival market. To create the marketingRead MoreThe Growth Of An International Arts Festival2065 Words à |à 9 Pagesinternational arts festival in Bournemouth should be seen as an addition of the boroughââ¬â¢s economic portfolio through the inventive industries, providing imaginary economic and excellence of life advantage for Bournemouth residents. In order to engage public support, the contribution of the arts to Bournemouthââ¬â¢s economy and excellence of life should be further advertised and plans for future growth explained, at the first phase. At the first phase in the formulating of the festival programme links withRead MoreThe Development Of Rock And Pop Music Festivals1501 Words à |à 7 Pageshas been a constant rise in the division of outdoor music festivals over the past 10 years with about 71 per cent rise between 2003 and 2007 (Anderton 2009, pp.39-40). Mintel reports that there has been a persistent extension in the live music spectators stimulated by an evolution of supply sector in terms of greater number of events, sites and innovation over the past decade. These are accompanied by a large number of boutique festivals which are designed to meet specific consumer demands and excellencyRead MoreFestivals Essay3916 Words à |à 16 Pagesindustries implies a ââ¬Ëmassificationââ¬â¢ of culture and entertainment, as such, festivals are found to be a cultural industry, involving large numbers of people working in organisation, administration, promotion, marketing, and the creative and performing arts. Festivals come in different forms including agricultural, cultural, historical, horticultural, and arts festivals to specific audiences and sub-cultures (fringe festivals). Culture is about, and has been used to shape and to govern, identity; thereforeRead MoreEssay about Woodstock 19691075 Words à |à 5 Pagesrevolution in itself and responsible for redefining the point of view, respect, and attitude of the so-called quot;counter-culturedquot; youth of the late sixties. The attendants of the festival were youths from around the United States in ages ranging from 17 to 26. The overall mood of the festival was very relaxed and happy. Although there was a minimal amount of violence at Woodstock, there were financial problems, drugs, nudity, and traffic jams that seemed to go for miles down
Wednesday, January 1, 2020
How to Find Background Information for Thesis
Once youââ¬â¢re done with the topic, you have to locate various sources that provide background information on the subject. Finding background information for thesis at the very beginning of your research is highly important if youââ¬â¢re not really into the subject area, or not sure from where to approach the given topic. Some of the background information you may find will include major events and dates, broad overview of the topic, specific vocabulary terms, etc. How can one find these issues? Encyclopedias These are highly important sources to consult when performing the initial research on a topic. In general encyclopedias one may find basic information regarding a great variety of subjects in a well-organized and readable format. In case you are 100% sure about the subject area that youââ¬â¢d like to pick your topic from, you may need subject or specialized encyclopedia instead. These kinds of encyclopedias limit their scope to a certain area of study, providing the reader with more detailed material about the topic. Periodicals The matter concerns the publications that are printed monthly, daily, weekly, quarterly or annually. Various magazines, journals and newspapers ââ¬â make certain to look through all of them to take the most out of them! Because of fresh information, articles taken from various periodicals make excellent resources for the given topics. Internet The World Wide Web is a huge ocean of both ââ¬â good and bad materials. Make sure to be critical of everything you face with on the web when searching for background information for the thesis. Moreover, you must be careful that you understand the material you take from internet and cite in your work. Google Scholar, Wikipedia, Google Books ââ¬â all these sources are at your service to find the most suitable reference! Experts If you can approach specialists of the chosen area ââ¬â donââ¬â¢t miss this opportunity! Interviewing someone, who is involved in the field youââ¬â¢re studying is a chance to get the up-to-date information first hand. Prepare the list of the questions. This will save time for you and the person youââ¬â¢re going to communicate with. Some students wonder what they need background information for. There are several reasons why searching for background material is a must-to-do task. First of all, background information is a perfect opportunity to face with new ideas. Itââ¬â¢s a chance to decide what you are actually want to say on the given topic or what part of the topic you would like to dedicate your thesis for. To add more, background information provides the names of important places, people and things that are a necessary part of your subject. Feel free to make use of these names to search for articles or books later. And finally, background information opens up new information sources you can also take benefits from.
Subscribe to:
Comments (Atom)