OS/2, eCS & ArcaOS - Technical > Hardware

PCIe - SATA3 card choices?

<< < (4/6) > >>

David McKenna:
 Try turning OFF NCQ on the SSD drive. I get better SSD drive performance on my machine that way....

Dariusz Piatkowski:
Hi David,


--- Quote from: David McKenna on April 03, 2020, 09:45:56 pm --- Try turning OFF NCQ on the SSD drive. I get better SSD drive performance on my machine that way....

--- End quote ---

Thanks for the suggestion. I did try this approach, but the results actually stayed the same, and these roughly match the throughput I was seeing with DANIS506 drivers with only about 15% improvement overall.

I tried a few other things, such as re-routing the SSD to another port on that AHCI adapter, that did not impact the results.

I then went back to some of my old testing results and noticed a following remark I had made in the SysBench output logs:

"Throughput went up with the use of Dani /PF:3 timing controller settings"

STANDARD TIMING

--- Code: --- Disk I/O disk 1-2: 238473 MB - Samsung SSD 850 EVO 250GB
   Avg. data access time :       --.---    milliseconds
   Cache/Bus xfer rate   :      125.379    Megabytes/second
   Track 0 xfer rate fwd :      228.815    Megabytes/second
   Middle trk rate fwds. :      231.438    Megabytes/second
   Last track rate bwds. :      217.636    Megabytes/second
   Average Transfer rate :      225.963    Megabytes/second
   Disk use CPU load     :        2.830    percent
   -----------------------------------------------------------------------
   Total                 :       --.---    Disk I/O-marks

--- End code ---

REDUCED TIMING

--- Code: --- Disk I/O disk 1-2: 238473 MB - Samsung SSD 850 EVO 250GB
   Avg. data access time :       --.---    milliseconds
   Cache/Bus xfer rate   :      162.474    Megabytes/second
   Track 0 xfer rate fwd :      231.584    Megabytes/second
   Middle trk rate fwds. :      231.628    Megabytes/second
   Last track rate bwds. :      218.996    Megabytes/second
   Average Transfer rate :      227.403    Megabytes/second
   Disk use CPU load     :        2.920    percent
   -----------------------------------------------------------------------
   Total                 :       --.---    Disk I/O-marks

--- End code ---

So it is interesting to note that with the IDE DANIS506 driver's reduced timing mode the cache/bux xfer improved by some 29%.

I do not see any such specifications in the OS2AHCI driver though, although there is a reference there to 'Link Speed' and by default this is set to 'maximum'. Grrh...so little explanation in the drivers docs, or the wiki...can't hurt to test it out though I suppose.

David McKenna:
 Dariusz,

 I was surprised to get better performance by turning off NCQ when I did it, so who knows?... might as well try different 'Link Speed' settings and see if anything crops up...

Regards,

Dariusz Piatkowski:
David, everyone...


--- Quote from: David McKenna on April 06, 2020, 12:52:37 am ---... might as well try different 'Link Speed' settings and see if anything crops up...
Regards,

--- End quote ---

So, here is literally the quote from the OS2AHCI driver doc file:


--- Code: ---/LS                    Set link speed (default = 0):
                         0 = maximum,
                         1 = limit to generation 1
                         2 = limit to generation 2
                         3 = limit to generation 3

--- End code ---

So at first I figured OK, 1 = SATA1, 2 = SATA2 and 3 = SATA3, although given where the standard is today I'm not quite sure how to interpret 0 =...???

Given that my motherboard is SATA2 capable only I enabled /LS:2, that resulted in a tiny throughput increase to get me to 158MB/s. I then tried both /LS:1 (which gave me 90MB/s) and /LS:3 (which gave me about 100MB/s).

So much for that theory. Keep in mind, each change required a re-boot, so things are pretty clean coming back up, unless there is some other register setting somewhere that a soft re-boot does not clear, could be...

Meanwhile, the DANIS506 section I'm comparing it to is this:


--- Code: ---1) Register access delay:
0 : 1000 ns  (default, fixed for all non-PCI systems)
1 :  500 ns
2 :  250 ns
3 : no delay (works on most systems, check out yourself)

--- End code ---

I might toss a ticket in for this but I honestly would not expect anything out of it.

Pete:
Hi Dariusz

Which build of os2ahci.add are you using? - the "port #3 interrupt error status: 0x40000001; restarting port" is indicative of the flaky v2.03 driver supplied with ArcaOS5.0.1/5.0.2.

If I am right it could be worth trying either a later driver or the 1.32 build from eCS.


Regards

Pete

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version