When monitor I/O activity with iostat, during dd, I have noticed that, if the test takes 10 second, the disk have activity only during last 3 or 4 seconds and iostat report about 250-350MBps. Is it normal?
I set read ahead to different values, but the results don't differ substantially...
Thanks!
El 3 de abril de 2012 15:21, Tomas Vondra <tv@fuzzy.cz> escribió:
On 3.4.2012 14:59, Cesar Martin wrote: > Hi Mike, > Thank you for your fast response. > > blockdev --getra /dev/sdc > 256
That's way too low. Is this setting the same on both machines?
Anyway, set it to 4096, 8192 or even 16384 and check the difference.
BTW explain analyze is nice, but it's only half the info, especially when the issue is outside PostgreSQL (hw, OS, ...). Please, provide samples from iostat / vmstat or tools like that. Tomas