[U-Boot] AHCI driver is quiet slow
Yaroslav K.
yar444 at gmail.com
Fri Jul 15 13:09:34 CEST 2016
Hello!
I'm using U-boot with x86 hardware (Atom C2000) and Linux,
and I've noticed that the AHCI driver in U-boot is quiet much slower
than the one in Linux. The drive connected is an 8 GB SATA SSD.
U-boot:
=> time scsi read 0x10000000 0 0x100000
SCSI read: device 0 block # 0, count 1048576 ... 1048576 blocks read: OK
time: 2 minutes, 19.318 seconds
Linux:
# sync && echo 3 > /proc/sys/vm/drop_caches
# time dd if=/dev/sda of=/dev/null count=1048576
1048576+0 records in
1048576+0 records out
real 0m 26.75s
user 0m 0.40s
sys 0m 2.72s
Is there maybe anything that could be done to improve AHCI performance?
--
Yaroslav
More information about the U-Boot
mailing list