[U-Boot] AHCI driver is quiet slow

15 Jul
2016
15 Jul
'16
1:09 p.m.
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
3226
Age (days ago)
3226
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yaroslav K.