Does Marvell 9128 controller support trim?

Falafil

Member
Jun 5, 2013
51
0
0
I found this two-year old post:
"(3) Finally, the TRIM issue. I did e-mail an editor from one of the major PC mags in the USA, asking if they could find out if the Marvell 9128 passes TRIM commands or not. The response they got from Gigbayte was this: "Marvel SE9128 controller can support TRIM command only with Win7 built-in driver, however, Win7 built-in driver doesn’t support SATA hot plug. With Marvell’s own driver, it doesn’t support TRIM command, but it enables hot plug.""
I have no idea what the frick Win7 built-in drivers or Marvell drivers are, I just download the drivers from my Intel motherboard website.
I've been using an SSD for 9 months on a Marvell 9128 controller and am wondering if it hasn't once gotten a trim command (which might explain why I now have low speeds and access times). What driver am I supposed to install?
 
Last edited:

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
I can confirm TRIM is working with the MS AHCI driver. Just use the driver included in windows. Don't install any Marvell drivers and it'll work fine. Hotplug just means that you can connect/disconnect with the system powered on. Little use on an internal drive, but good for external drives that use SATA/eSATA.
 

Falafil

Member
Jun 5, 2013
51
0
0
I can confirm TRIM is working with the MS AHCI driver. Just use the driver included in windows. Don't install any Marvell drivers and it'll work fine. Hotplug just means that you can connect/disconnect with the system powered on. Little use on an internal drive, but good for external drives that use SATA/eSATA.

Where do I get the Microsoft AHCI drivers? Are the Marvell drivers the ones I downloaded from my Intel motherboard's website? Should I uninstall these drivers?
PS: How do you know for certain that your SSD is receiving the trim commands?
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
Where do I get the Microsoft AHCI drivers? Are the Marvell drivers the ones I downloaded from my Intel motherboard's website? Should I uninstall these drivers?
PS: How do you know for certain that your SSD is receiving the trim commands?

The MS AHCI are installed as the default for all SATA controllers when you install windows. So technically you don't have to do anything at all. The Intel chipset driver only installs a driver for the Intel SATA/RAID controller in the southbridge (PCH, I know, I'm slightly old fashioned).

The SSD I'm talking about is running on an 9128-based expansion card in an older PC. I have done a little torture testing to see that it works and it does... :)
 

Falafil

Member
Jun 5, 2013
51
0
0
The MS AHCI are installed as the default for all SATA controllers when you install windows. So technically you don't have to do anything at all. The Intel chipset driver only installs a driver for the Intel SATA/RAID controller in the southbridge (PCH, I know, I'm slightly old fashioned).

The SSD I'm talking about is running on an 9128-based expansion card in an older PC. I have done a little torture testing to see that it works and it does... :)

So where exactly do you get drivers for the Marvell controllers if not from the drivers of the motherboard they're embedded on?

But more importantly, if the original quote I posted is true, then I do have the Marvell drivers installed because hot plug works on those controllers.
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
So where exactly do you get drivers for the Marvell controllers if not from the drivers of the motherboard they're embedded on?

http://www.marvell.com/support/downloads/search.do

But more importantly, if the original quote I posted is true, then I do have the Marvell drivers installed because hot plug works on those controllers.

In device manager find the Marvell controller. Open "driver" and click "update drivers". Choose "find and install driver software manually". Choose "let me choose which driver to install". You might need to check "show compatible hardware". Then select "standard ACHI 1.0 controller". That's all there is to it.

(I'm on a Danish version right now, I'm not sure if I got the terms completely right. Its something along those lines.)
 

Soulkeeper

Diamond Member
Nov 23, 2001
6,731
155
106
The trim command is part of the sata protocol I don't think any new controller would not support it.
works on my 9128 in linux
 

Falafil

Member
Jun 5, 2013
51
0
0
Where is the driver for the 9128 controller? I don't see it.


In device manager find the Marvell controller. Open "driver" and click "update drivers". Choose "find and install driver software manually". Choose "let me choose which driver to install". You might need to check "show compatible hardware". Then select "standard ACHI 1.0 controller". That's all there is to it.

(I'm on a Danish version right now, I'm not sure if I got the terms completely right. Its something along those lines.)
I found only this driver: "Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller". Should I uninstall this driver?
 

Soulkeeper

Diamond Member
Nov 23, 2001
6,731
155
106
90% of the internet disagrees.
And the 9128 is quite old.

Hardware wise and protocol wise it's there.
"The TRIM command specification[56] is being standardized as part of the AT Attachment (ATA) interface standard, led by Technical Committee T13 of the International Committee for Information Technology Standards (INCITS).[57] TRIM is implemented under the DATA SET MANAGEMENT command (opcode 06h) the draft ACS-2 specification."

9128 is sata 3.0 compliant, it has trim support.

I'm not trying to burst your bubble here, if you're having OS/driver/filesystem issues that's another matter.
 
Last edited:

Falafil

Member
Jun 5, 2013
51
0
0
Hardware wise and protocol wise it's there.
"The TRIM command specification[56] is being standardized as part of the AT Attachment (ATA) interface standard, led by Technical Committee T13 of the International Committee for Information Technology Standards (INCITS).[57] TRIM is implemented under the DATA SET MANAGEMENT command (opcode 06h) the draft ACS-2 specification."

9128 is sata 3.0 compliant, it has trim support.

I'm not trying to burst your bubble here, if you're having OS/driver/filesystem issues that's another matter.

90% of the internet still disagrees.
You can't say "it's SATA 3 then it supports trim", that's just silly.
 
Last edited:

Soulkeeper

Diamond Member
Nov 23, 2001
6,731
155
106
Funny how you're the only one the 9128 isn't working for.
Trim works for me and everyone else, but you ...

You're welcome to read the sata spec, email the marvell tech support, and get educated. "silly" has nothing to do with it.

good luck
 

Falafil

Member
Jun 5, 2013
51
0
0
Funny how you're the only one the 9128 isn't working for.
Trim works for me and everyone else, but you ...

You're welcome to read the sata spec, email the marvell tech support, and get educated. "silly" has nothing to do with it.

good luck

Use google, search 9128 trim support. What's funny is most people on the internet say the 9128 doesn't support trim, yet you're still claiming it works for everyone.
 

Falafil

Member
Jun 5, 2013
51
0
0
Trim works fine for me with both 9128 and 9230

first verify that trim is indeed not working for you
try this: http://answers.microsoft.com/en-us/...rking-on/80e600c0-d2fd-41b4-801b-650e05dac350

I know nothing about the 9230, we are discussing the 9128. How exactly do you know it "works fine"? I didn't know there were any proven methods that tell if the drive is really getting the trim command.

Checking if trim is working on the windows level won't "verify" anything on the hardware level.
 

Soulkeeper

Diamond Member
Nov 23, 2001
6,731
155
106
just check, that's step one.
guessing and arguing with the free help isn't the solution :(
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
Where is the driver for the 9128 controller? I don't see it.

Whoops. That was a mistake. Its the link for the Ethernet adaptors.

http://www.station-drivers.com/index.php/10-drivers/47-marvell

I found only this driver: "Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller". Should I uninstall this driver?

Definitely not. That's the driver for your Intel SATA ports.

The Marvell should be listed in either IDE ATA/ATAPI devices or Storagecontrollers.
 

Falafil

Member
Jun 5, 2013
51
0
0
Under the "IDE ATA/ATAPI controllers" there is "Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller", there's nothing else.
There is no "Storagecontrollers" either.
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
Under the "IDE ATA/ATAPI controllers" there is "Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller", there's nothing else.
There is no "Storagecontrollers" either.

Somewhere in your device manager there should be an listed an entry "Marvell 91xx SATA 6G Controller". If there isn't, then you're not using a Marvell controller.
 

Falafil

Member
Jun 5, 2013
51
0
0
Somewhere in your device manager there should be an listed an entry "Marvell 91xx SATA 6G Controller". If there isn't, then you're not using a Marvell controller.

If it was Microsoft or Marvell driver wouldn't it show in device manager either way?
If it's Microsoft driver why is hot plug working?
 

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
If it was Microsoft or Marvell driver wouldn't it show in device manager either way?
If it's Microsoft driver why is hot plug working?

From the look of it, there is only the Intel AHCI driver installed ("Intel(R) Desktop/Workstation/Server Express Chipset SATA AHCI Controller"). That means you're running on one of the Intel ports on your mainboard.

What mainboard are you using?
 

Falafil

Member
Jun 5, 2013
51
0
0

Insert_Nickname

Diamond Member
May 6, 2012
4,971
1,695
136
Nope. I'm running on the Marvell controllers.

http://www.intel.com/content/www/us...ard-dh67cl-interactive-layout-demo-video.html
I'm connected to the blue ports.

If you're running the DH67CL you linked to, then no. You're running on the Intel SATA controller that's built-in the PCH (blue SATA3 and black SATA2 ports). The red port is the Marvell controller that's also used for eSATA on the back panel. For some reason someone at Intel decided to include an internal port on that controller.

It also fits with being able to hot-plug. The Intel driver can do that.
 

Falafil

Member
Jun 5, 2013
51
0
0
If you're running the DH67CL you linked to, then no. You're running on the Intel SATA controller that's built-in the PCH (blue SATA3 and black SATA2 ports). The red port is the Marvell controller that's also used for eSATA on the back panel. For some reason someone at Intel decided to include an internal port on that controller.

It also fits with being able to hot-plug. The Intel driver can do that.

Place cursor over number 21 and read the description:
"Two SATA 6GB/s interfaces through the Marvell* 88SE9128 controller (blue)"