Originally posted by oshunluvr
View Post
Announcement
Collapse
No announcement yet.
Can't Change IO Scheduler
Collapse
This topic is closed.
X
X
-
Even when I try deadline scheduler, my computer gets really slow when I'm doing some heavy I/O operations. Is this a problem with Linux? I'm not used to experiencing this in Windows. Does Windows make the app on the foreground have a higher priority?
The problem seems really odd to me because even when the contents of the file I'm trying to open should have been in RAM cache by now, they still open too slow. For example, even for Terminal: I open terminal, close it and reopen it but it still makes me wait for a few seconds.
- Top
- Bottom
Comment
-
Copying huge files 'to where'? On your systems drive, or to an external location, and if the latter, how is that location connected?Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Originally posted by Snowhog View PostCopying huge files 'to where'? On your systems drive, or to an external location, and if the latter, how is that location connected?
- Top
- Bottom
Comment
-
Okay, so when you said 'big files', what size are you talking about?Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
This problem has a long and chequered history, because it only affected some systems, and I speculate seemingly didn't hit the kernel developers much, so they seemed to ignore it for years. The underlying cause is explained in this bugzilla comment. Or this LWN article.
The problem tends to baffles people like me that have much experience with thrashing, swapping, systems because it behaves like them, page faulting even when there's no swap at all.
Changing the io scheduler to deadpool avoids the problem for a lot of systems, but not all. You could research the settings in /proc/sys/vm/dirty_* and experiment with changing those. F.ex.Code:echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes
Regards, John Little
- Top
- Bottom
Comment
-
Comment