Very slow VBD writes in domU under Linux 3.3, ok under 3.0.x
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Jacek Konieczny
After upgrading my DomUs to Linux kernel 3.3.0 I have noticed some applications are _inceribly_ slow. Eventually I fount out that are some filesystem writes blocking for long time.
[...]
Quoted 3 lines
[root@vpbx15 ~]# time dd if=/dev/zero bs=1024 count=10000 of=/dev/xvdc1 10240000 bytes (10 MB) copied, 52.9366 s, 193 kB/s
88.23s real 0.00s user 0.36s system
[...]
Quoted 6 lines
while blocked:
[root@vpbx15 ~]# cat
/proc/pidof dd/stack[<c016891a>] check_preempt_curr+0x6a/0x80 [<c0109f3c>] xen_clocksource_read+0x2c/0x60 [<c0179f10>] ktime_get_ts+0xf0/0x120
I have managed to upgrade my image to kernel 3.4.4 – that still didn't help, but when I switched to a 64-bit kernel, the problem disappeared.
I have been using 64-bit hypervisor for years now, but the domU kernels were always 32-bit. Upgrading dom0 kernel to 64-bit did not change anything.
I am not 100% sure if it is the kernel architecture changes or some difference in kernel configurations (some options which where enabled in 32-bit kernel where automatically disabled when compiling for 64-bit), but I cannot find any such obvious setting change.
Anyway, using 64-bit kernel fixes the problem for me and that is good enough. Since I am able to use a 64-bit kernel I have no reason to use 32 bit Linux kernels under Xen any more.
Greets,
Jacek
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel