Heavy disk I/O causes X rendering to hang
I get some weird X behavior when my computer is under high I/O load. For some reason, X struggles with rendering (I think), causing long delays in program execution.
Test to reproduce:
1. Start 'stress -d 2' to start hard-drive I/O
2. In another terminal, execute 'time ls /usr/bin'
3. Watch how the ls command hangs for many seconds.
The 'hanging' sometimes occurs before any output appears, other times it hangs in the middle of the output. The worst I've seen is 18 seconds before the command completes. The whole terminal window also hangs at this point.
Now I thought this was related to bug #131094, but I discovered that if I run the same test through SSH, there's no hanging! So the problem seems to be with X rendering the output of the command in the terminal.
I've tested this with the proprietary nvidia driver, the nouveau driver and vesa driver. I got the same problem in all three cases.
System information:
- Ubuntu 11.04 64bit
- NVIDIA GeForce GTS 250
I'm not sure how to debug this further. Please let me know if there's any other information you require.
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Johannes H. Jensen for more information if necessary.