Language Selection

English French German Italian Portuguese Spanish

Linux: High Idle Load Average

Filed under
Linux

When a Linux user reported a repeatedly high load average on an idle server, tracking the problem to a specific patch labeled, "user of the jiffies rounding code", Andrew Morton replied, "this is unexpected. High load average is due to either a task chewing a lot of CPU time or a task stuck in uninterruptible sleep."

Linus Torvalds disagreed, explaining, "We saw high loadaverages with the timer bogosity with 'gettimeofday()' and 'select()' not agreeing, so they would do things like 'date = time(..); select(.. , timeout = );' and when 'date' wasn't taking the jiffies offset into account, and thus mixing these kinds of different time sources, the select ended up returning immediately because they effectively used different clocks, and suddenly we had some applications chewing up 30% CPU time, because they were in a loop that *tried* to sleep."

More Here




Also on kernelTRAP:

Forcedeth Improvements

More in Tux Machines

Build Your Own Open-Source SmartWatch

If you’re not up for spending your money on one of the less advanced smart watch models, you may want to check out maker Jonathan Cook’s DIY Open-Source SmartWatch, part of which is 3D printed, something the prognosticators of future tech surely didn’t forecast. Cook shared instructions for making his SmartWatch on the webzine “Make:” and also on his own website, DoNothingBox. You can download the STL files on the DNB site, too. For around $125 or less you can make your own smart phone and you can customize it, something that you wouldn’t be able to do with a store-bought version. Read more

LibreOffice 4.4 Is Coming Soon With New Features

The release plan puts the LibreOffice 4.4.0 as being just days away, but what features are in store for this open-source office suite? Let's take a brief look. Read more

Completely open source, high-end laptop gets closer to reality

If you've wanted a laptop where all the software is free and open source (FOSS), you've usually had to settle for mediocre hardware. Even FOSS champion Richard Stallman is making do with a ThinkPad that's several years old. At last, though, it looks like you won't have to compromise your ideology for the sake of keeping up with the Joneses. Purism has successfully crowdfunded the Librem 15, a portable PC that combines modern parts (such as a 3.4GHz Core i7 and an optional 4K display) with software that's accessible from head to toe. The operating system (a variant of Trisquel GNU/Linux), hardware drivers and included apps are all free and open -- Purism is even trying to loosen up the BIOS and firmware. Read more

Your simple guide to Open Source technology

What does this mean in practice? First and foremost, it means that unlike traditional software development that is done behind closed doors and with the windows barred and by a small team, Open Source software development by its nature has many eye balls on it all of the time. Anyone can submit bug fixes or improvements and this generally translates into fixes and improvements happening at a much faster rate. Security vulnerabilities and exploits are usually fixed quickly too, which is good for everyone. Read more