Bug 263446

Summary: FreeBSD12.2 / FreeBSD12.3 mpr , smqrtpqi working slow, arcmsr is just fine
Product: Base System Reporter: Rumen Palov <rpalov>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Many People    
Priority: ---    
Version: 12.3-RELEASE   
Hardware: Any   
OS: Any   

Description Rumen Palov 2022-04-21 11:16:37 UTC
Hello all,

we face strange and bad situation. 

We have HBA LSI 9300 - SAS3008. 

One SSD WDC( 14T SAS ) server grade is working fine with it( 300-500 MB/sec ) but the new one SSD SAMSUNG( 14T SAS ) server grade  is very slow ( max 20 MB/sec ).

When we change that HBA with Areca in JBOD/HBA mode we can get 300-500MB/sec from both SSDs. 

This is the same for FreeBSD 12.2 and FreeBSD 12.3

We try SAS3808/SAS3818 with other SSD SAMSUNG ( 8T SATA ) server grade on FreeBSD12.3 and we can get max 20 MB/sec. 

Today we have received Adaptec 1100-8i. We this HBA we can get maximum 90MB/sec from SSD WDC ( 14T SAS ) and 15-20MB/sec with SSD SAMSUNG ( 14T SAS ). 

So mpr and smarpqi are working slow, but arcmsr is just fine ..  

It seems there are changes in the kernel but they are not applied to the drivers ? 

If you need more info and details just list them

Cheers
Rumen
Comment 1 Rumen Palov 2022-04-29 07:19:52 UTC
Hello again,

When we disable zfs trim:

      vfs.zfs.trim.enabled=0 

both SSDs are performing on their best speed.

How the zfs trim affects the performance in such dramatic way ?