Slow seek in kernels >= 2.6.18
Hi!
A question. We've got an application that runs about 30-40 minutes. After kernel upgrade from 2.6.17 branch, it runs about 3 hours.
I've made tests with the help of bonnie++, it shows that random seek operations are about 3 times slower in kernels newer than 2.6.18 in comparison with 2.6.17. This difference may be seen only during high load of a server. When it is in normal state, parameters are rather the same.
We use XFS filesystem. Does any one know may it be because of upgrade of XFS driver in kernel? Any ideas?
Thanks a lot.
______________________________________________________________
Anton Vorobev
Programátor
Seznam.cz, a.s. Radlická 608/2 150 00 Praha 5
tel.: +420 234 694 706
fax: +420 234 694 115
[email protected]
http://www.seznam.cz
Is it the same on ext file-systems?
Can you run the same tests on disk devices directly to rule out scheduling issues of i/o requests
by device drivers? One way I was thinking that we got a kind of cache pollution or invalidation
thus exposing to do more seeks. Can you tell the equivalent file-system operations that your
application in general do? This will give a lot of insight on what could be happening.
-Bhagi.
Quoted 21 lines · Anton A Vorobev
Hi!
A question. We've got an application that runs about 30-40 minutes. After kernel upgrade from 2.6.17 branch, it runs about 3 hours. I've made tests with the help of bonnie++, it shows that random seek operations are about 3 times slower in kernels newer than 2.6.18 in comparison with 2.6.17. This difference may be seen only during high load of a server. When it is in normal state, parameters are rather the same.
We use XFS filesystem. Does any one know may it be because of upgrade of XFS driver in kernel? Any ideas?
Thanks a lot.
______________________________________________________________
Anton Vorobev
Program�tor
Seznam.cz, a.s. Radlick� 608/2 150 00 Praha 5
Quoted 8 lines
tel.: +420 234 694 706
fax: +420 234 694 115
[email protected]
http://www.seznam.cz
[[HTML alternate version deleted]]
Re: {WHAT?} Slow seek in kernels >= 2.6.18
In reply to Anton A VorobevQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
On Thu, 18 Oct 2007 10:12:28 +0200, Anton A Vorobev <[email protected]> said:
anton.vorobev> Hi! A question. We've got an application that anton.vorobev> runs about 30-40 minutes. After kernel upgrade anton.vorobev> from 2.6.17 branch, it runs about 3 hours. [ anton.vorobev> ... ]
I'd check the elevator and its parameters more than XFS.
Quoted 8 lines · Anton A Vorobev
Hi!
A question. We've got an application that runs about 30-40 minutes. After kernel upgrade from 2.6.17 branch, it runs about 3 hours. I've made tests with the help of bonnie++, it shows that random seek operations are about 3 times slower in kernels newer than 2.6.18 in comparison with 2.6.17. This difference may be seen only during high load of a server. When it is in normal state, parameters are rather the same.
I think that's about when the defaults for few /proc/sys/vm/ vars changed. One from 10 to 5, and another from 40 to 10. I forget the exact filenames.
Josef 'Jeff' Sipek.
Signature · 2 lines
Once you have their hardware. Never give it back. (The First Rule of Hardware Acquisition)