Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: M.2 SSDs and Marvell 88SE9230 SATA



On Tue, 3 Jul 2018, Stephen Borrill wrote:
Any informed guesses whether M.2 SSDs will work if I buy them for my Lenovo server?

Based on the following, I've determined they should be Marvell 88SE9230:
https://discussions.citrix.com/topic/396920-unable-to-install-xen-server-75-onto-lenovo-m2-drive/

Only 88SE91XX is currently explicitly supported by ahcisata:
ahcisata_pci.c: { PCI_VENDOR_MARVELL2, PCI_PRODUCT_MARVELL2_88SE91XX,
pcidevs:product MARVELL2 88SE91XX       0x91a3  88SE91XX SATA
pcidevs:product MARVELL2 88SE9215       0x9215  88SE9215 SATA
pcidevs:product MARVELL2 88SE9220       0x9220  88SE9220 SATA
pcidevs:product MARVELL2 88SE9230       0x9230  88SE9230 SATA
pcidevs:product MARVELL2 88SE9235       0x9235  88SE9235 SATA

I'm probably going to try nonetheless (how hard can it be to add???), but any hints based on experience would be useful.

OK, so I fitted a pair of M.2 SSDs:
https://lenovopress.com/lp0769-thinksystem-m2-drives-adapters

Without doing anything they appeared as JBODs (along with a extra virtual device):
ahcisata2 at pci3 dev 0 function 0: vendor 1b4b product 9230 (rev. 0x11)
ahcisata2: interrupting at ioapic0 pin 18
ahcisata2: 64-bit DMA
ahcisata2: AHCI revision 1.20, 3 ports, 32 slots, CAP 0xc0309f02<PMD,ISS=0x3=Gen3,SNCQ,S64A>
atabus12 at ahcisata2 channel 0
atabus13 at ahcisata2 channel 1
atabus14 at ahcisata2 channel 2
wd0: <LITEON CV3-8D128 00YK353 0L20505LEN>
wd0: drive supports 1-sector PIO transfers, LBA48 addressing
wd0: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
wd0(ahcisata2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
wd1 at atabus13 drive 0
wd1: <LITEON CV3-8D128 00YK353 0L20505LEN>
wd1: drive supports 1-sector PIO transfers, LBA48 addressing
wd1: 119 GB, 248085 cyl, 16 head, 63 sec, 512 bytes/sect x 250069680 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags)
wd1(ahcisata2:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
atapibus0 at atabus14: 1 targets
uk0 at atapibus0 drive 0: <MARVELL VIRTUAL, HKDP221516WL, 1.09> processor fixed
uk0: drive supports PIO mode 4, Ultra-DMA mode 4 (Ultra/66)
uk0(ahcisata2:2:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)

By going into the uEFI setup, I could easily set up a RAID-1 and a new slightly smaller virtual wd0 appeared and wd1 disappeared:

wd0 at atabus12 drive 0
wd0: <ThinkSystem M.2 VD>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 119 GB, 247954 cyl, 16 head, 63 sec, 512 bytes/sect x 249938560 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7, NCQ (32 tags)
wd0(ahcisata2:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

Performance isn't too shabby either. bonnie says:
119691 K/sec output char
137535 K/sec output block
130260 K/sec output rewrite
171789 K/sec input char
260260 K/sec input block
13679 seeks/sec

So happy days!

--
Stephen



Home | Main Index | Thread Index | Old Index