RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info -maybe extended partitions
Hi Linda, Are you having variable transfer rates based on the zone access point? If this is the case it is correctly reporting slow on the ID of the LBA range v/s the OD on the media. Regards, Andre Hedrick CTO Timpanogas Research Group EVP Linux Development, TRG Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
It seems to be the output of vmstat that isn't matching things. First it says it's getting near 10M/s, but if you divide 128M/27 seconds, it's more like 4.7. So where is the time being wasted? It's not in cpu either. Now lets look at hda7 where vmstat reported 2-3meg/sec. Again, the math says it's a rate near 5. So it still doesn't make sense. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Andries Brouwer > Sent: Monday, November 13, 2000 4:59 PM > To: LA Walsh > Cc: lkml > Subject: Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info > - maybe extended partitions > > > On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: > > > Some further information in response to a private email, I did > hdparm -ti > > under both > > 2216 and 2217 -- they are identical -- this may be something weird > > w/extended partitions... > > What nonsense. There is nothing special with extended partitions. > Partitions influence the logical view on the disk, but not I/O. > > (But the outer rim of a disk is faster than the inner side.) > > Moreover, you report elapsed times > 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 > where is this performance hit? > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
It seems to be the output of vmstat that isn't matching things. First it says it's getting near 10M/s, but if you divide 128M/27 seconds, it's more like 4.7. So where is the time being wasted? It's not in cpu either. Now lets look at hda7 where vmstat reported 2-3meg/sec. Again, the math says it's a rate near 5. So it still doesn't make sense. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andries Brouwer Sent: Monday, November 13, 2000 4:59 PM To: LA Walsh Cc: lkml Subject: Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... What nonsense. There is nothing special with extended partitions. Partitions influence the logical view on the disk, but not I/O. (But the outer rim of a disk is faster than the inner side.) Moreover, you report elapsed times 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 where is this performance hit? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info -maybe extended partitions
Hi Linda, Are you having variable transfer rates based on the zone access point? If this is the case it is correctly reporting slow on the ID of the LBA range v/s the OD on the media. Regards, Andre Hedrick CTO Timpanogas Research Group EVP Linux Development, TRG Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
It seems to be the output of vmstat that isn't matching things. First it says it's getting near 10M/s, but if you divide 128M/27 seconds, it's more like 4.7. So where is the time being wasted? It's not in cpu either. Now I look at hda7 where vmstat reported 2000-3000 blocks/sec. Again, the math says it's a rate near 5m/s. So it still doesn't make sense. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Andries Brouwer > Sent: Monday, November 13, 2000 4:59 PM > To: LA Walsh > Cc: lkml > Subject: Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info > - maybe extended partitions > > > On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: > > > Some further information in response to a private email, I did > hdparm -ti > > under both > > 2216 and 2217 -- they are identical -- this may be something weird > > w/extended partitions... > > What nonsense. There is nothing special with extended partitions. > Partitions influence the logical view on the disk, but not I/O. > > (But the outer rim of a disk is faster than the inner side.) > > Moreover, you report elapsed times > 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 > where is this performance hit? > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: > Some further information in response to a private email, I did hdparm -ti > under both > 2216 and 2217 -- they are identical -- this may be something weird > w/extended partitions... What nonsense. There is nothing special with extended partitions. Partitions influence the logical view on the disk, but not I/O. (But the outer rim of a disk is faster than the inner side.) Moreover, you report elapsed times 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 where is this performance hit? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... /dev/hda: multcount= 0 (off) I/O support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 3278/240/63, sectors = 49577472, start = 0 Model=IBM-DARA-225000, FwRev=SHAOA50A, SerialNo=SQASQ023976 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=3(DualPortCache), BuffSize=418kB, MaxMultSect=16, MultSect=off DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2 CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=49577472 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4 UDMA modes: mode0 mode1 *mode2 mode3 mode4 Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3 ATA-4 --- Speed comparisons, 2216: Timing buffered disk reads: 64 MB in 4.61 seconds = 13.88 MB/sec Timing buffered disk reads: 64 MB in 4.65 seconds = 13.76 MB/sec Timing buffered disk reads: 64 MB in 4.69 seconds = 13.65 MB/sec 2217: Timing buffered disk reads: 64 MB in 4.59 seconds = 13.94 MB/sec Timing buffered disk reads: 64 MB in 4.63 seconds = 13.82 MB/sec Timing buffered disk reads: 64 MB in 4.56 seconds = 14.04 MB/sec - After rebooting several times, I can get equally bad performance on both. :-( Here's the key. I read from /dev/hda, hda1, {hda4, hda5, hda6, hda7} hda3. The performance in reading from a, a1 and a3 is near or above 10M/s -- but in the "Extended" partition, rates from 4-7 are all under 3M/s. So what's the deal? Why do extended partitions drop performance? Here's the log. Did dd's if=device of=/dev/null, bs=128k count=1k. Timings are interwoven with vmstat output: procs memoryswap io system cpu r b w swpd free buff cache si sobibo incs us sy id 1 0 0 1928 3188 432352 10976 1 3 3111 3 183 424 3 6 91 0 0 0 1928 3448 432352 10984 0 0 1 0 125 352 1 1 98 0 0 0 1928 3356 432352 11016 0 0 1 3 107 180 0 0 99 /dev/hda 1 0 0 1928 2068 433716 10984 0 0 12597 3 302 598 0 11 89 1 0 0 1928 2196 433600 10972 0 0 6810 0 208 388 0 6 94 0 1 0 1928 2132 433668 10968 0 0 8806 0 239 454 0 12 88 0 1 0 1928 2132 433668 10968 0 0 5914 0 193 357 0 4 96 2 0 0 1928 2100 430184 10484 0 0 12365 0 295 558 0 12 88 1024+0 records in 1024+0 records out 0.01user 2.31system 0:27.43elapsed 8%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda1 0 2 0 2572 2120 426948 10268 0 129 1180533 292 544 0 14 86 0 1 0 2572 2940 422320 10268 0 0 10972 0 275 511 0 11 89 1 0 0 2572 2660 419024 10268 0 0 10266 2 264 485 0 9 91 0 1 0 2572 2052 418192 10268 0 0 11789 0 285 554 0 13 87 2 0 0 2572 2176 418044 10296 0 0 13045 0 307 608 0 17 83 1024+0 records in 1024+0 records out 0.01user 2.83system 0:22.71elapsed 12%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda3 1 0 0 2572 2048 418168 10296 0 0 14220 0 324 655 0 11 89 0 1 0 2572 2180 418040 10296 0 0 7027 3 213 398 0 7 93 0 1 0 2700 2116 418104 10424 0 26 8858 7 240 460 0 10 90 1 0 0 2956 2112 418464 10288 0 51 965113 253 488 0 17 83 1024+0 records in 1024+0 records out 0.03user 2.65system 0:24.70elapsed 10%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda4 2 1 0 2952 2736 417752 10424 26 0 13216 0 310 577 0 14 86 1 0 0 2952 2192 419716 10544 26 0 2159 0 237 428 0 9 91 1 0 0 2952 2808 419488 10484 0 0 2304 2 247 456 0 9 91 1 0 0 2948 3092 420260 10476 0 0 2406 1 252 461 0 9 91 procs memoryswap io system cpu r b w swpd free buff cache si sobibo incs us sy id 1 0 0 2948 2304 421540 10476 0 0 2355 0 249 459 0 7 93 2 0 0 2948 2588 421604 10476 0 0 2496 0 257 480 0 9 91 1024+0 records in 1024+0 records out 0.01user 2.12system 0:28.64elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda5 1 0 0 2948 2340 423172 10476 0 0 2394 1 251 471 0 8 92 1 0 0 3460 2596 425420 9988 0 102 275228 282 512 0
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... /dev/hda: multcount= 0 (off) I/O support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead= 8 (on) geometry = 3278/240/63, sectors = 49577472, start = 0 Model=IBM-DARA-225000, FwRev=SHAOA50A, SerialNo=SQASQ023976 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=3(DualPortCache), BuffSize=418kB, MaxMultSect=16, MultSect=off DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2 CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=49577472 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4 UDMA modes: mode0 mode1 *mode2 mode3 mode4 Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3 ATA-4 --- Speed comparisons, 2216: Timing buffered disk reads: 64 MB in 4.61 seconds = 13.88 MB/sec Timing buffered disk reads: 64 MB in 4.65 seconds = 13.76 MB/sec Timing buffered disk reads: 64 MB in 4.69 seconds = 13.65 MB/sec 2217: Timing buffered disk reads: 64 MB in 4.59 seconds = 13.94 MB/sec Timing buffered disk reads: 64 MB in 4.63 seconds = 13.82 MB/sec Timing buffered disk reads: 64 MB in 4.56 seconds = 14.04 MB/sec - After rebooting several times, I can get equally bad performance on both. :-( Here's the key. I read from /dev/hda, hda1, {hda4, hda5, hda6, hda7} hda3. The performance in reading from a, a1 and a3 is near or above 10M/s -- but in the "Extended" partition, rates from 4-7 are all under 3M/s. So what's the deal? Why do extended partitions drop performance? Here's the log. Did dd's if=device of=/dev/null, bs=128k count=1k. Timings are interwoven with vmstat output: procs memoryswap io system cpu r b w swpd free buff cache si sobibo incs us sy id 1 0 0 1928 3188 432352 10976 1 3 3111 3 183 424 3 6 91 0 0 0 1928 3448 432352 10984 0 0 1 0 125 352 1 1 98 0 0 0 1928 3356 432352 11016 0 0 1 3 107 180 0 0 99 /dev/hda 1 0 0 1928 2068 433716 10984 0 0 12597 3 302 598 0 11 89 1 0 0 1928 2196 433600 10972 0 0 6810 0 208 388 0 6 94 0 1 0 1928 2132 433668 10968 0 0 8806 0 239 454 0 12 88 0 1 0 1928 2132 433668 10968 0 0 5914 0 193 357 0 4 96 2 0 0 1928 2100 430184 10484 0 0 12365 0 295 558 0 12 88 1024+0 records in 1024+0 records out 0.01user 2.31system 0:27.43elapsed 8%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda1 0 2 0 2572 2120 426948 10268 0 129 1180533 292 544 0 14 86 0 1 0 2572 2940 422320 10268 0 0 10972 0 275 511 0 11 89 1 0 0 2572 2660 419024 10268 0 0 10266 2 264 485 0 9 91 0 1 0 2572 2052 418192 10268 0 0 11789 0 285 554 0 13 87 2 0 0 2572 2176 418044 10296 0 0 13045 0 307 608 0 17 83 1024+0 records in 1024+0 records out 0.01user 2.83system 0:22.71elapsed 12%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda3 1 0 0 2572 2048 418168 10296 0 0 14220 0 324 655 0 11 89 0 1 0 2572 2180 418040 10296 0 0 7027 3 213 398 0 7 93 0 1 0 2700 2116 418104 10424 0 26 8858 7 240 460 0 10 90 1 0 0 2956 2112 418464 10288 0 51 965113 253 488 0 17 83 1024+0 records in 1024+0 records out 0.03user 2.65system 0:24.70elapsed 10%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda4 2 1 0 2952 2736 417752 10424 26 0 13216 0 310 577 0 14 86 1 0 0 2952 2192 419716 10544 26 0 2159 0 237 428 0 9 91 1 0 0 2952 2808 419488 10484 0 0 2304 2 247 456 0 9 91 1 0 0 2948 3092 420260 10476 0 0 2406 1 252 461 0 9 91 procs memoryswap io system cpu r b w swpd free buff cache si sobibo incs us sy id 1 0 0 2948 2304 421540 10476 0 0 2355 0 249 459 0 7 93 2 0 0 2948 2588 421604 10476 0 0 2496 0 257 480 0 9 91 1024+0 records in 1024+0 records out 0.01user 2.12system 0:28.64elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (104major+76minor)pagefaults 0swaps /dev/hda5 1 0 0 2948 2340 423172 10476 0 0 2394 1 251 471 0 8 92 1 0 0 3460 2596 425420 9988 0 102 275228 282 512 0 12
Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... What nonsense. There is nothing special with extended partitions. Partitions influence the logical view on the disk, but not I/O. (But the outer rim of a disk is faster than the inner side.) Moreover, you report elapsed times 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 where is this performance hit? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
RE: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions
It seems to be the output of vmstat that isn't matching things. First it says it's getting near 10M/s, but if you divide 128M/27 seconds, it's more like 4.7. So where is the time being wasted? It's not in cpu either. Now I look at hda7 where vmstat reported 2000-3000 blocks/sec. Again, the math says it's a rate near 5m/s. So it still doesn't make sense. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andries Brouwer Sent: Monday, November 13, 2000 4:59 PM To: LA Walsh Cc: lkml Subject: Re: IDE0 /dev/hda performance hit in 2217 on my HW - more info - maybe extended partitions On Mon, Nov 13, 2000 at 03:47:27PM -0800, LA Walsh wrote: Some further information in response to a private email, I did hdparm -ti under both 2216 and 2217 -- they are identical -- this may be something weird w/extended partitions... What nonsense. There is nothing special with extended partitions. Partitions influence the logical view on the disk, but not I/O. (But the outer rim of a disk is faster than the inner side.) Moreover, you report elapsed times 0:27, 0:22, 0:24, 0:28, 0:21, 0:24, 0:27 where is this performance hit? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/