Re: Abysmal disk performance, how to debug?

2007-02-03 Thread Elladan
You guys are making this harder than it needs to be. Try this: sync# To make sure nothing else is writing dd if=/dev/zero of=file bs=1M count=1024 oflag=dsync You'll get reasonable numbers this way out of dd. -J On Sat, Jan 27, 2007 at 02:43:04PM -0500, Bill Davidsen wrote: > What you

Re: Abysmal disk performance, how to debug?

2007-02-03 Thread Elladan
You guys are making this harder than it needs to be. Try this: sync# To make sure nothing else is writing dd if=/dev/zero of=file bs=1M count=1024 oflag=dsync You'll get reasonable numbers this way out of dd. -J On Sat, Jan 27, 2007 at 02:43:04PM -0500, Bill Davidsen wrote: What you want

Re: Abysmal disk performance, how to debug?

2007-01-27 Thread Bill Davidsen
Willy Tarreau wrote: On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more

Re: Abysmal disk performance, how to debug?

2007-01-27 Thread Bill Davidsen
Willy Tarreau wrote: On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Gene Heskett
On Saturday 20 January 2007 22:41, Stephen Clark wrote: >Willy Tarreau wrote: >>On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: >>>Sunil Naidu wrote: On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: >It is not expected to increase write performance, but it should help

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Stephen Clark
Willy Tarreau wrote: On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/21/07, Tim Schmielau <[EMAIL PROTECTED]> wrote: Yes. You have a faster Disk that writes about 45 MB/s. But I am not sure I understand what you want to know? I got these results with a customized 2.6.20-rc5. [EMAIL PROTECTED] kernel]$ uname -a Linux Typhoon 2.6.20-rc5-Topol-M #1 SMP Sun

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sun, 21 Jan 2007, Sunil Naidu wrote: > On 1/21/07, Tim Schmielau <[EMAIL PROTECTED]> wrote: > > > > Note that these dd "benchmarks" are completely bogus, because the data > > doesn't actually get written to disk in that time. For some enlightening > > data, try > > > > time dd if=/dev/zero

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: > On Sat, Jan 20, 2007 at 09:39:25PM +0100, Tim Schmielau wrote: > > On Sat, 20 Jan 2007, Willy Tarreau wrote: > > > On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: > > > > > > > also explains why you see better results is writeout starts

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 09:39:25PM +0100, Tim Schmielau wrote: > On Sat, 20 Jan 2007, Willy Tarreau wrote: > > On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: > > > > > > Note that these dd "benchmarks" are completely bogus, because the data > > > doesn't actually get written to

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/21/07, Tim Schmielau <[EMAIL PROTECTED]> wrote: Note that these dd "benchmarks" are completely bogus, because the data doesn't actually get written to disk in that time. For some enlightening data, try time dd if=/dev/zero of=/tmp/1GB bs=1M count=1024; time sync The dd returns as soon

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: > On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: > > > > Note that these dd "benchmarks" are completely bogus, because the data > > doesn't actually get written to disk in that time. For some enlightening > > data, try > > > > time dd

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 09:28:57PM +0100, Tim Schmielau wrote: > On Sat, 20 Jan 2007, Willy Tarreau wrote: > > > Anyway, in your situation with a very small buffer, this should not > > change by more than half a second or so. > > Well, his buffer is not small. He has half a GB of RAM, so when

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: > Anyway, in your situation with a very small buffer, this should not > change by more than half a second or so. Well, his buffer is not small. He has half a GB of RAM, so when writing 1 GB the buffer would roughly double the dd speed, exactly as he

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
Hi Tim, On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: > On Sat, 20 Jan 2007, Ismail Dönmez wrote: > > > 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: > > [...] > > > > vaio cartman # hdparm -tT /dev/hda > > > > > > > > /dev/hda: > > > > Timing cached reads: 1576

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Ismail Dönmez wrote: > 20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau şunları yazmıştı: > > > > Note that these dd "benchmarks" are completely bogus, because the data=20 > > doesn't actually get written to disk in that time. For some enlightening=20 > > data, try > > > >

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 10:16:15PM +0200, Ismail Dönmez wrote: > 20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau ??unlar?? yazmt??: > [...] > > > > Note that these dd "benchmarks" are completely bogus, because the data=20 > > doesn't actually get written to disk in that time. For some

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau şunları yazmıştı: [...] > > Note that these dd "benchmarks" are completely bogus, because the data=20 > doesn't actually get written to disk in that time. For some enlightening=20 > data, try > > time dd if=3D/dev/zero of=3D/tmp/1GB bs=3D1M

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 22:05 tarihinde, Willy Tarreau şunları yazmıştı: > On Sun, Jan 21, 2007 at 01:14:41AM +0530, Sunil Naidu wrote: > > On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: [...] > It should not have changed the throughput at all if the > hardware was not a bit strange (well, it's a

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Ismail Dönmez wrote: > 20 Oca 2007 Cts 19:45 tarihinde şunları yazmıştınız: > [...] > > > vaio cartman # hdparm -tT /dev/hda > > > > > > /dev/hda: > > > Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec > > > Timing buffered disk reads: 74 MB in 3.01

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: > Sunil Naidu wrote: > > >On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: > > > > > >>It is not expected to increase write performance, but it should help > >>you do something else during that time, or also give more

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sun, Jan 21, 2007 at 01:14:41AM +0530, Sunil Naidu wrote: > On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: > >> > > > > > >It is not expected to increase write performance, but it should help > >you do something else during that time, or also give more responsiveness > >to Ctrl-C. It is

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Stephen Clark
Sunil Naidu wrote: On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C. It is possible that you have fast and slow RAM, or that your video

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/20/07, Willy Tarreau <[EMAIL PROTECTED]> wrote: > > > It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C. It is possible that you have fast and slow RAM, or that your video card uses shared

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 20:03 tarihinde şunları yazmıştınız: > On Sat, Jan 20, 2007 at 07:52:53PM +0200, Ismail Dönmez wrote: > > 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: > > [...] > > > > > > vaio cartman # hdparm -tT /dev/hda > > > > > > > > /dev/hda: > > > > Timing cached reads:

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 07:52:53PM +0200, Ismail Dönmez wrote: > 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: > [...] > > > vaio cartman # hdparm -tT /dev/hda > > > > > > /dev/hda: > > > Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec > > > Timing buffered disk

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 19:45 tarihinde şunları yazmıştınız: [...] > > vaio cartman # hdparm -tT /dev/hda > > > > /dev/hda: > > Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec > > Timing buffered disk reads: 74 MB in 3.01 seconds = 24.55 MB/sec > > > > > > [~]> time dd if=/dev/zero

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
Hi, On Sat, Jan 20, 2007 at 07:20:53PM +0200, Ismail Dönmez wrote: > Hi all, > > I own a Sony Vaio VGN-FS285B and disk performance to say at least is very > very > slow. Writing 1 GB data makes the laptop unresponsive. Here is some data > identifying the drive. Hope someone can tell me how to

Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
Hi all, I own a Sony Vaio VGN-FS285B and disk performance to say at least is very very slow. Writing 1 GB data makes the laptop unresponsive. Here is some data identifying the drive. Hope someone can tell me how to debug and find out whats the problem. FWIW since 2.6.16 the problem is same

Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
Hi all, I own a Sony Vaio VGN-FS285B and disk performance to say at least is very very slow. Writing 1 GB data makes the laptop unresponsive. Here is some data identifying the drive. Hope someone can tell me how to debug and find out whats the problem. FWIW since 2.6.16 the problem is same

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
Hi, On Sat, Jan 20, 2007 at 07:20:53PM +0200, Ismail Dönmez wrote: Hi all, I own a Sony Vaio VGN-FS285B and disk performance to say at least is very very slow. Writing 1 GB data makes the laptop unresponsive. Here is some data identifying the drive. Hope someone can tell me how to debug

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 19:45 tarihinde şunları yazmıştınız: [...] vaio cartman # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec Timing buffered disk reads: 74 MB in 3.01 seconds = 24.55 MB/sec [~] time dd if=/dev/zero of=/tmp/1GB bs=1M

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 07:52:53PM +0200, Ismail Dönmez wrote: 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: [...] vaio cartman # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec Timing buffered disk reads: 74 MB in

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 20:03 tarihinde şunları yazmıştınız: On Sat, Jan 20, 2007 at 07:52:53PM +0200, Ismail Dönmez wrote: 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: [...] vaio cartman # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1576 MB in 2.00 seconds

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C. It is possible that you have fast and slow RAM, or that your video card uses shared

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Stephen Clark
Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C. It is possible that you have fast and slow RAM, or that your video

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sun, Jan 21, 2007 at 01:14:41AM +0530, Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C. It is possible that you

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also give more responsiveness to Ctrl-C.

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Ismail Dönmez wrote: 20 Oca 2007 Cts 19:45 tarihinde şunları yazmıştınız: [...] vaio cartman # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1576 MB in 2.00 seconds = 788.18 MB/sec Timing buffered disk reads: 74 MB in 3.01 seconds = 24.55 MB/sec

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 22:05 tarihinde, Willy Tarreau şunları yazmıştı: On Sun, Jan 21, 2007 at 01:14:41AM +0530, Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: [...] It should not have changed the throughput at all if the hardware was not a bit strange (well, it's a VAIO

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Ismail Dönmez
20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau şunları yazmıştı: [...] Note that these dd benchmarks are completely bogus, because the data=20 doesn't actually get written to disk in that time. For some enlightening=20 data, try time dd if=3D/dev/zero of=3D/tmp/1GB bs=3D1M count=3D1024;

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 10:16:15PM +0200, Ismail Dönmez wrote: 20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau ??unlar?? yazmt??: [...] Note that these dd benchmarks are completely bogus, because the data=20 doesn't actually get written to disk in that time. For some enlightening=20

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Ismail Dönmez wrote: 20 Oca 2007 Cts 22:10 tarihinde, Tim Schmielau şunları yazmıştı: Note that these dd benchmarks are completely bogus, because the data=20 doesn't actually get written to disk in that time. For some enlightening=20 data, try time dd

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
Hi Tim, On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: On Sat, 20 Jan 2007, Ismail Dönmez wrote: 20 Oca 2007 Cts 19:45 tarihinde ??unlar?? yazmt??n??z: [...] vaio cartman # hdparm -tT /dev/hda /dev/hda: Timing cached reads: 1576 MB in 2.00 seconds =

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: Anyway, in your situation with a very small buffer, this should not change by more than half a second or so. Well, his buffer is not small. He has half a GB of RAM, so when writing 1 GB the buffer would roughly double the dd speed, exactly as he has

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 09:28:57PM +0100, Tim Schmielau wrote: On Sat, 20 Jan 2007, Willy Tarreau wrote: Anyway, in your situation with a very small buffer, this should not change by more than half a second or so. Well, his buffer is not small. He has half a GB of RAM, so when writing

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: Note that these dd benchmarks are completely bogus, because the data doesn't actually get written to disk in that time. For some enlightening data, try time dd if=/dev/zero

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/21/07, Tim Schmielau [EMAIL PROTECTED] wrote: Note that these dd benchmarks are completely bogus, because the data doesn't actually get written to disk in that time. For some enlightening data, try time dd if=/dev/zero of=/tmp/1GB bs=1M count=1024; time sync The dd returns as soon as

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Willy Tarreau
On Sat, Jan 20, 2007 at 09:39:25PM +0100, Tim Schmielau wrote: On Sat, 20 Jan 2007, Willy Tarreau wrote: On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: Note that these dd benchmarks are completely bogus, because the data doesn't actually get written to disk in that

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sat, 20 Jan 2007, Willy Tarreau wrote: On Sat, Jan 20, 2007 at 09:39:25PM +0100, Tim Schmielau wrote: On Sat, 20 Jan 2007, Willy Tarreau wrote: On Sat, Jan 20, 2007 at 09:10:22PM +0100, Tim Schmielau wrote: also explains why you see better results is writeout starts earlier.

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Tim Schmielau
On Sun, 21 Jan 2007, Sunil Naidu wrote: On 1/21/07, Tim Schmielau [EMAIL PROTECTED] wrote: Note that these dd benchmarks are completely bogus, because the data doesn't actually get written to disk in that time. For some enlightening data, try time dd if=/dev/zero of=/tmp/1GB bs=1M

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Sunil Naidu
On 1/21/07, Tim Schmielau [EMAIL PROTECTED] wrote: Yes. You have a faster Disk that writes about 45 MB/s. But I am not sure I understand what you want to know? I got these results with a customized 2.6.20-rc5. [EMAIL PROTECTED] kernel]$ uname -a Linux Typhoon 2.6.20-rc5-Topol-M #1 SMP Sun Jan

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Stephen Clark
Willy Tarreau wrote: On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something else during that time, or also

Re: Abysmal disk performance, how to debug?

2007-01-20 Thread Gene Heskett
On Saturday 20 January 2007 22:41, Stephen Clark wrote: Willy Tarreau wrote: On Sat, Jan 20, 2007 at 02:56:20PM -0500, Stephen Clark wrote: Sunil Naidu wrote: On 1/20/07, Willy Tarreau [EMAIL PROTECTED] wrote: It is not expected to increase write performance, but it should help you do something