iostat and more than one core

2010-11-17 Thread Luis Useche
Hi Guys, Doing a small disk benchmark in my laptop with dd, I found that dd and iostats were reporting different numbers. To be precise, iostat was returning half of the MB/sec than dd (24.5 vs 49 MB/sec). Digging a bit on the iostat code, I realized that the struct _disk cpu time was returning

Re: iostat and more than one core

2010-11-17 Thread Benny Löfgren
On 2010-11-17 18.23, Luis Useche wrote: Doing a small disk benchmark in my laptop with dd, I found that dd and iostats were reporting different numbers. To be precise, iostat was returning half of the MB/sec than dd (24.5 vs 49 MB/sec). Digging a bit on the iostat code, I realized that the