Noticed that Linux can lag?

The newest distros the lastest Nvidia driver, gadgets .....

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Noticed that Linux can lag?

Postby viking60 » 05 Aug 2010, 11:51

Have you noticed that Linux can become unresponsive for a while when the system is under memory pressure and writing to a slow device?
F.ex. a dd command could produce it in combination with a slow USB.
Now it will be fixed. If we are lucky this will be history as of kernel 2.6.36 approximately by the end of this year.
Kernel patch to remove unresponsivenes
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Noticed that Linux can lag?

Postby dedanna1029 » 05 Aug 2010, 12:22

Nice! Been waiting on something to cure it. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Noticed that Linux can lag?

Postby rolf » 06 Aug 2010, 15:02

This happens when the two conditions are both meet:
- under memory pressure
- writing heavily to a slow device

Yes. There have been times when some lengthy operation is hogging resources, sometimes prodding me so far as 'man nice'. I've not got much further than looking, maybe one unsuccessful shot at 'renice', as these occasions get my attention only infrequently and becoming master of 'nice' is, also, a time consumer. It appears this patch will solve a particular subset of resource hogging and that will be nice. :P However, I suspect there are some programs, such as video en/decoding, that I use that will not show a change. I think there is another subset of 'rude' programs that take more resources than I need them to but, currently, to date, with a pretty spry machine, I will probably wait, a little, rather than try to teach manners (see above).

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Noticed that Linux can lag?

Postby viking60 » 06 Aug 2010, 16:57

According to Phoronix this can be patched back to 2.6.32 so it will be of use for the LTS kernel users too.
http://www.phoronix.com/scan.php?page=n ... &px=ODQ3OQ
Well that is n.... good I guess :mrgreen:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “Linux News”