Science Fair Projects Ideas - Read-copy-update

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Read-copy-update

Read-copy-update is an operating system kernel technology for improving performance on computers with more than one CPU.

The basic idea is as follows. Assume you have a data structure which is shared by multiple threads of execution. When a thread wants to read the structure, it uses a pointer to the structure and continues on, without any locking or checking. This makes reading the data structure as efficient as reading a non-shared data structure.

When a thread wants to write to the structure, it

  • creates a new structure,
  • copies the data from the old structure into the new one, and saves a pointer to the old structure,
  • modifies the new, copied, structure
  • updates the global pointer to refer to the new structure, and then
  • sleeps until the operating system kernel determines that there are no readers left using the old structure.

When the thread which made the copy is woken up by the kernel, it can safely deallocate the old structure.

This technique is great for data which is read frequently but updated infrequently, but is not designed to be efficient in other cases.

The technique is covered by U.S. software patent 5,442,758, issued August 15, 1995 and assigned to Sequent Computer Systems. It is also the topic of one of the claims in the SCO v. IBM lawsuit.

External links

10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice