[Arm-netbook] Purchasing delay, Mele A1000

matt mattli.tw at gmail.com
Tue Mar 27 02:27:39 BST 2012


Hi, David:

    I tried hdparm and fio to test the SATA speed before.
Use hdparm the SATA driver report some error sometimes even I change other
HDD.
Use fio not report any error.

==================
Below is my test result.
==================
sun4i login: root
# hdparm -tT /dev/sda1

/dev/sda1:
Timing buffer-cache reads:   278 MB in 0.51 seconds = 557840 kB/s
Timing buffered disk reads:   31 MB in 0.69 seconds = 45402 kB/s
# hdparm -tT /dev/sda1

/dev/sda1:
Timing buffer-cache reads:   276 MB in 0.51 seconds = 552730 kB/s
Timing buffered disk reads:   31 MB in 0.78 seconds = 40579 kB/s
#
#
# hdparm -tT /dev/sda1

/dev/sda1:
Timing buffer-cache reads:   260 MB in 0.51 seconds = 521520 kB/s
Timing buffered disk reads:[   42.600000] ata1.00: exception Emask 0x10
SAct 0x2 SErr 0x280100 action 0x6 frozen
[   42.600000] ata1.00: irq_stat 0x08000000, interface fatal error
[   42.610000] ata1: SError: { UnrecovData 10B8B BadCRC }
[   42.620000] ata1.00: failed command: READ FPDMA QUEUED
[   42.620000] ata1.00: cmd 60/80:08:81:1e:00/00:00:00:00:00/40 tag 1 ncq
65536 in
[   42.620000]          res 40/00:08:81:1e:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   42.630000] ata1.00: status: { DRDY }
[   42.640000] ata1: hard resetting link
[   42.990000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.000000] ata1.00: configured for UDMA/133
[   43.000000] ata1: EH complete
[   43.610000] ata1.00: exception Emask 0x10 SAct 0x3 SErr 0x280100 action
0x6 frozen
[   43.630000] ata1.00: irq_stat 0x08000000, interface fatal error
[   43.630000] ata1: SError: { UnrecovData 10B8B BadCRC }
[   43.640000] ata1.00: failed command: READ FPDMA QUEUED
[   43.640000] ata1.00: cmd 60/80:00:01:f0:00/00:00:00:00:00/40 tag 0 ncq
65536 in
[   43.640000]          res 40/00:00:01:f0:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   43.650000] ata1.00: status: { DRDY }
[   43.660000] ata1.00: failed command: READ FPDMA QUEUED
[   43.660000] ata1.00: cmd 60/80:08:81:f0:00/00:00:00:00:00/40 tag 1 ncq
65536 in
[   43.660000]          res 40/00:00:01:f0:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   43.670000] ata1.00: status: { DRDY }
[   43.670000] ata1: hard resetting link
[   44.030000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   44.040000] ata1.00: configured for UDMA/133
[   44.040000] ata1: EH complete
   31 MB in 1.62 seconds = 19492 kB/s
#
# hdparm -tT /dev/sda1

/dev/sda1:
Timing buffer-cache reads:   258 MB in 0.51 seconds = 516420 kB/s
Timing buffered disk reads:[   49.890000] ata1.00: exception Emask 0x10
SAct 0x3 SErr 0x280100 action 0x6 frozen
[   49.900000] ata1.00: irq_stat 0x08000000, interface fatal error
[   49.910000] ata1: SError: { UnrecovData 10B8B BadCRC }
[   49.910000] ata1.00: failed command: READ FPDMA QUEUED
[   49.920000] ata1.00: cmd 60/80:00:01:1b:00/00:00:00:00:00/40 tag 0 ncq
65536 in
[   49.920000]          res 40/00:00:01:1b:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   49.940000] ata1.00: status: { DRDY }
[   49.940000] ata1.00: failed command: READ FPDMA QUEUED
[   49.940000] ata1.00: cmd 60/80:08:81:1b:00/00:00:00:00:00/40 tag 1 ncq
65536 in
[   49.940000]          res 40/00:00:01:1b:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   49.950000] ata1.00: status: { DRDY }
[   49.960000] ata1: hard resetting link
[   50.310000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   50.320000] ata1.00: configured for UDMA/133
[   50.320000] ata1: EH complete
   31 MB in 1.17 seconds = 26982 kB/s
# hdparm -tT /dev/sda1

/dev/sda1:
Timing buffer-cache reads:   250 MB in 0.51 seconds = 501637 kB/s
Timing buffered disk reads:[   57.070000] ata1: limiting SATA link speed to
1.5 Gbps
[   57.070000] ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action
0x6 frozen
[   57.080000] ata1.00: irq_stat 0x08000000, interface fatal error
[   57.090000] ata1: SError: { UnrecovData 10B8B BadCRC }
[   57.100000] ata1.00: failed command: READ FPDMA QUEUED
[   57.100000] ata1.00: cmd 60/2a:00:bb:10:00/00:00:00:00:00/40 tag 0 ncq
21504 in
[   57.100000]          res 40/00:00:bb:10:00/00:00:00:00:00/40 Emask 0x10
(ATA bus error)
[   57.110000] ata1.00: status: { DRDY }
[   57.110000] ata1: hard resetting link
[   57.470000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   57.480000] ata1.00: configured for UDMA/133
[   57.480000] ata1: EH complete
   31 MB in 1.20 seconds = 26382 kB/s
# fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1           4       32129+ 83 Linux
/dev/sda2               5          37      265072+ 83 Linux
/dev/sda3              38         103      530145  83 Linux
/dev/sda4             104       60801   487556685   5 Extended
/dev/sda5             104         365     2104514+ 83 Linux
/dev/sda6             366       26474   209720542  83 Linux
/dev/sda7           26475       60801   275731627   c Win95 FAT32 (LBA)

*# /mnt/sdb1/fio --name=random-writers --iodepth=4 --rw=randwrite --bs=512k
--direct=1 --size=256m --numjobs=1*
random-writers: (g=0): rw=randwrite, bs=512K-512K/512K-512K, ioengine=sync,
iodepth=4
fio 2.0.3
Starting 1 process
random-writers: Laying out IO file(s) (1 file(s) / 256MB)
Jobs: 1 (f=1): [w] [100.0% done] [0K/28735K /s] [0 /54  iops] [eta 00m:00s]
random-writers: (groupid=0, jobs=1): err= 0: pid=183
  write: io=262144KB, bw=26662KB/s, iops=52 , runt=  9832msec
    clat (msec): min=11 , max=590 , avg=19.01, stdev=26.18
     lat (msec): min=11 , max=590 , avg=19.14, stdev=26.18
    clat percentiles (msec):
     |  1.00th=[   13],  5.00th=[   13], 10.00th=[   14], 20.00th=[   14],
     | 30.00th=[   15], 40.00th=[   16], 50.00th=[   17], 60.00th=[   18],
     | 70.00th=[   19], 80.00th=[   20], 90.00th=[   24], 95.00th=[   29],
     | 99.00th=[   46], 99.50th=[   79], 99.90th=[  594]
    bw (KB/s)  : min=  839, max=31751, per=100.00%, avg=27014.42,
stdev=7152.07
    lat (msec) : 20=83.40%, 50=15.62%, 100=0.78%, 750=0.20%
  cpu          : usr=0.81%, sys=6.41%, ctx=556, majf=0, minf=0
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%,
>=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     issued    : total=r=11272/w=0/d=0, short=r=512/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=262144KB, aggrb=26662KB/s, minb=27302KB/s, maxb=27302KB/s,
mint=9832msec, maxt=9832msec

Disk stats (read/write):
  sda: ios=0/637, merge=0/638, ticks=0/55270, in_queue=36130, util=95.87%
#

*# /mnt/sdb1/fio --name=seq-writers --iodepth=4 --rw=write --bs=128k
--direct=0 --size=256m --numjobs=1*
seq-writers: (g=0): rw=write, bs=128K-128K/128K-128K, ioengine=sync,
iodepth=4
fio 2.0.3
Starting 1 process
seq-writers: Laying out IO file(s) (1 file(s) / 256MB)
Jobs: 1 (f=1): [W] [100.0% done] [0K/40203K /s] [0 /306  iops] [eta 00m:00s]
seq-writers: (groupid=0, jobs=1): err= 0: pid=219
  write: io=262144KB, bw=40126KB/s, iops=313 , runt=  6533msec
    clat (usec): min=695 , max=344688 , avg=3074.15, stdev=16745.91
     lat (usec): min=728 , max=344721 , avg=3111.98, stdev=16745.51
    clat percentiles (usec):
     |  1.00th=[  716],  5.00th=[  724], 10.00th=[  724], 20.00th=[  732],
     | 30.00th=[  740], 40.00th=[  748], 50.00th=[  756], 60.00th=[  764],
     | 70.00th=[  788], 80.00th=[  844], 90.00th=[ 1032], 95.00th=[ 2512],
     | 99.00th=[73216], 99.50th=[142336], 99.90th=[250880]
    bw (KB/s)  : min=21408, max=81920, per=100.00%, avg=40448.75,
stdev=16655.93
    lat (usec) : 750=47.51%, 1000=42.14%
    lat (msec) : 2=3.76%, 4=3.12%, 10=0.54%, 20=0.63%, 50=0.34%
    lat (msec) : 100=1.42%, 250=0.39%, 500=0.15%
  cpu          : usr=1.99%, sys=28.01%, ctx=370, majf=0, minf=0
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%,
>=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     issued    : total=r=11272/w=0/d=0, short=r=2048/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=262144KB, aggrb=40126KB/s, minb=41089KB/s, maxb=41089KB/s,
mint=6533msec, maxt=6533msec

Disk stats (read/write):
  sda: ios=0/580, merge=0/58846, ticks=0/285220, in_queue=279870,
util=100.00%
*
*
*# /mnt/sdb1/fio --name=seq-writers --iodepth=4 --rw=write --bs=32k
--direct=0 --size=256m --numjobs=1*
seq-writers: (g=0): rw=write, bs=32K-32K/32K-32K, ioengine=sync, iodepth=4
fio 2.0.3
Starting 1 process
Jobs: 1 (f=1): [W] [85.7% done] [0K/40172K /s] [0 /1225  iops] [eta 00m:01s]
seq-writers: (groupid=0, jobs=1): err= 0: pid=223
  write: io=262144KB, bw=43230KB/s, iops=1350 , runt=  6064msec
    clat (usec): min=160 , max=155046 , avg=684.39, stdev=6630.26
     lat (usec): min=170 , max=155056 , avg=695.02, stdev=6630.25
    clat percentiles (usec):
     |  1.00th=[  171],  5.00th=[  173], 10.00th=[  175], 20.00th=[  177],
     | 30.00th=[  179], 40.00th=[  181], 50.00th=[  183], 60.00th=[  185],
     | 70.00th=[  189], 80.00th=[  191], 90.00th=[  199], 95.00th=[  241],
     | 99.00th=[ 2224], 99.50th=[68096], 99.90th=[86528]
    bw (KB/s)  : min=32768, max=61045, per=99.94%, avg=43201.45,
stdev=9196.43
    lat (usec) : 250=95.42%, 500=1.90%, 750=0.15%, 1000=0.71%
    lat (msec) : 2=0.72%, 4=0.31%, 10=0.12%, 20=0.11%, 50=0.05%
    lat (msec) : 100=0.42%, 250=0.10%
  cpu          : usr=3.13%, sys=31.67%, ctx=371, majf=0, minf=0
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%,
>=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     issued    : total=r=11272/w=0/d=0, short=r=8192/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=262144KB, aggrb=43229KB/s, minb=44267KB/s, maxb=44267KB/s,
mint=6064msec, maxt=6064msec

Disk stats (read/write):
  sda: ios=0/472, merge=0/57400, ticks=0/188570, in_queue=207300,
util=91.78%
*
*
*# /mnt/sdb1/fio --name=seq-writers --iodepth=4 --rw=write --bs=4k
--direct=0 --size=256m --numjobs=1*
seq-writers: (g=0): rw=write, bs=4K-4K/4K-4K, ioengine=sync, iodepth=4
fio 2.0.3
Starting 1 process
Jobs: 1 (f=1): [W] [100.0% done] [0K/31418K /s] [0 /7670  iops] [eta
00m:00s]
seq-writers: (groupid=0, jobs=1): err= 0: pid=226
  write: io=262144KB, bw=41257KB/s, iops=10314 , runt=  6354msec
    clat (usec): min=28 , max=245803 , avg=77.10, stdev=1792.31
     lat (usec): min=30 , max=245806 , avg=80.55, stdev=1792.96
    clat percentiles (usec):
     |  1.00th=[   29],  5.00th=[   29], 10.00th=[   30], 20.00th=[   30],
     | 30.00th=[   30], 40.00th=[   31], 50.00th=[   31], 60.00th=[   31],
     | 70.00th=[   32], 80.00th=[   33], 90.00th=[   35], 95.00th=[   39],
     | 99.00th=[   56], 99.50th=[  143], 99.90th=[ 4768]
    bw (KB/s)  : min=26680, max=68079, per=99.78%, avg=41165.92,
stdev=10290.11
    lat (usec) : 50=98.80%, 100=0.53%, 250=0.24%, 500=0.04%, 750=0.05%
    lat (usec) : 1000=0.11%
    lat (msec) : 2=0.11%, 4=0.03%, 10=0.02%, 20=0.02%, 50=0.02%
    lat (msec) : 100=0.04%, 250=0.01%
  cpu          : usr=13.22%, sys=39.68%, ctx=582, majf=0, minf=0
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%,
>=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     issued    : total=r=11272/w=0/d=0, short=r=65536/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=262144KB, aggrb=41256KB/s, minb=42246KB/s, maxb=42246KB/s,
mint=6354msec, maxt=6354msec

Disk stats (read/write):
  sda: ios=0/521, merge=0/56354, ticks=0/202980, in_queue=205110,
util=90.41%

*# /mnt/sdb1/fio --name=seq-writers --iodepth=4 --rw=write --bs=1k
--direct=0 --size=256m --numjobs=1*
seq-writers: (g=0): rw=write, bs=1K-1K/1K-1K, ioengine=sync, iodepth=4
fio 2.0.3
Starting 1 process
Jobs: 1 (f=1): [W] [100.0% done] [0K/13934K /s] [0 /13.7K iops] [eta
00m:00s]
seq-writers: (groupid=0, jobs=1): err= 0: pid=229
  write: io=262144KB, bw=9476.7KB/s, iops=9476 , runt= 27662msec
    clat (usec): min=16 , max=471658 , avg=91.43, stdev=1992.11
     lat (usec): min=18 , max=471660 , avg=93.74, stdev=1992.13
    clat percentiles (usec):
     |  1.00th=[   17],  5.00th=[   17], 10.00th=[   17], 20.00th=[   17],
     | 30.00th=[   18], 40.00th=[   18], 50.00th=[   20], 60.00th=[   21],
     | 70.00th=[   22], 80.00th=[  175], 90.00th=[  179], 95.00th=[  193],
     | 99.00th=[  342], 99.50th=[  358], 99.90th=[  908]
    bw (KB/s)  : min= 3704, max=13906, per=100.00%, avg=9662.38,
stdev=3175.22
    lat (usec) : 20=46.17%, 50=28.72%, 100=0.07%, 250=21.42%, 500=3.41%
    lat (usec) : 750=0.09%, 1000=0.02%
    lat (msec) : 2=0.02%, 4=0.01%, 10=0.02%, 20=0.02%, 50=0.01%
    lat (msec) : 100=0.01%, 250=0.01%, 500=0.01%
  cpu          : usr=7.38%, sys=29.77%, ctx=66681, majf=0, minf=0
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%,
>=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%,
>=64=0.0%
     issued    : total=r=11272/w=0/d=0, short=r=262144/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=262144KB, aggrb=9476KB/s, minb=9704KB/s, maxb=9704KB/s,
mint=27662msec, maxt=27662msec

Disk stats (read/write):
  sda: ios=65158/536, merge=0/59300, ticks=17810/105790, in_queue=123470,
util=68.39%
#

Matt.

David Given <dg at cowlark.com> 於 2012年3月27日上午12:53 寫道:

> Tom Cubie wrote:
> [...]
> > The Mele box is on sale again.
> >
> >
> http://www.aliexpress.com/product-fm/532332455-Mele-A1000-TV-box-Allwinner-A10-hackable-device-wholesalers.html
>
> I see the spec says it's got real SATA --- but I don't see a socket on
> the back for SATA. Does it actually have this? (And, if anyone's tried
> it, what's the performance like?)
>
> --
> ┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
> │ "Parents let children ride bicycles on the street. But parents do not
> │ allow children to hear vulgar words. Therefore we can deduce that
> │ cursing is more dangerous than being hit by a car." --- Scott Adams
>
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120327/d08ace1d/attachment-0001.html 


More information about the arm-netbook mailing list