SSD experiments

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
pete
Posts: 2950
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SSD experiments

Post by pete »

Goofing around a bit here now.

I am booting up off of the USB connected 64Gb SSD drive. Works fine.

Connected a 16Gb SSD drive to the PATA port and mounted the ext4 partition on the PATA port connected SSD.

Loads up fine.

dmesg shows:

SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb

pata_sch 0000:00:1f.1: version 0.2
pata_sch 0000:00:1f.1: enabling device (0000 -> 0001)
pata_sch 0000:00:1f.1: setting latency timer to 64
scsi0 : pata_sch
scsi1 : pata_sch

ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf060 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf068 irq 15
Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

ata1.00: ATA-8: SanDisk pSSD-P2 16GB, SSD 5.20, max UDMA/133
ata1.00: 31277232 sectors, multi 0: LBA48
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf068 irq 15
Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

scsi 0:0:0:0: Direct-Access ATA SanDisk pSSD-P2 SSD PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
Refined TSC clocksource calibration: 1329.993 MHz.
Switching to clocksource tsc

mmc2: new high speed MMC card at address 0001
mmcblk0: mmc2:0001 980 MiB
mmcblk0: p1 p2 p4

USB Mass Storage support registered.
usb 4-2: new full-speed USB device number 2 using uhci_hcd

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
Model Number: SanDisk pSSD-P2 16GB
Serial Number: AFZ112410231258
Firmware Revision: SSD 5.20
Transport: Parallel, ATA8-APT
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 31277232
LBA48 user addressable sectors: 31277232
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 15272 MBytes
device size with M = 1000*1000: 16013 MBytes (16 GB)
cache/buffer size = unknown
Form Factor: 1.8 inch
Nominal Media Rotation Rate: Solid State Device

hdparm -I /dev/uba3

/dev/uba3:
SG_IO: questionable sense data, results may be incorrect

ATA device, with non-removable media
Standards:
Likely used: 1
Configuration:
Logical max current
cylinders 0 0
heads 0 0
sectors/track 0 0
--
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 0 MBytes
device size with M = 1000*1000: 0 MBytes
cache/buffer size = unknown
Capabilities:
IORDY not likely
Cannot perform double-word IO
R/W multiple sector transfer: not supported
DMA: not supported
PIO: pio0

Speedtesting SDA1 (which is the PATA port connected SSD) - now running a slow udma

sudo hdparm -Tt /dev/uba - testing USB connected 64 Gb SSD

/dev/uba:
Timing cached reads: 962 MB in 2.00 seconds = 480.63 MB/sec
Timing buffered disk reads: 66 MB in 3.02 seconds = 21.85 MB/sec

sudo hdparm -Tt /dev/sda - testing PATA port connected 16Gb SSD - note the speed increase here.

/dev/sda:
Timing cached reads: 1008 MB in 2.00 seconds = 503.49 MB/sec
Timing buffered disk reads: 164 MB in 3.04 seconds = 53.99 MB/sec

Next test will copy linux-boot, linux-swap and linux-root over to the connected 16Gb SSD.

Will change grub.cfg on the USB SSD such that it loads linux-rootssd16 and linux-swapssd16 instead on boot.

IE: will also change FSTAB on the pata port connected 16Gb SSD.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
pete
Posts: 2950
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SSD experiments

Post by pete »

Testing #2

Configured linux-boot partition on the USB connected 64Gb SSD to boot the linux-swaps and linux-roots partitions on the pata port connected 16Gb SSD.

Changes:

1 - changed grub.cfg on original linux-boot to booting root-linux to root-linuxs
2 - changed /etc/fstab on root-linuxs to mount root-linuxs and swap-linuxs

Booted up fine.

dmesg | less shows

SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb

pata_sch 0000:00:1f.1: version 0.2
pata_sch 0000:00:1f.1: enabling device (0000 -> 0001)
pata_sch 0000:00:1f.1: setting latency timer to 64
scsi0 : pata_sch
scsi1 : pata_sch
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf060 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf068 irq 15
Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

ata1.00: ATA-8: SanDisk pSSD-P2 16GB, SSD 5.20, max UDMA/133
ata1.00: 31277232 sectors, multi 0: LBA48
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA SanDisk pSSD-P2 SSD PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk

now moving the 16Gb SSD over to a USB connected SSD and moving the 64Gb SSD over to the PATA port.

Changing names of partitions to match what is currently running.

Test #3

NOT

It seems that the 64GB SSD is using older MLC technology. That said when I switched the 16Gb SSD and the 64Gb SSD on the PATA port I got errors and a slow drive. When using either connected to a USB ZIF to PATA SSD converter both drives had the same speeds.

I am guessing here that a newer 32/64Gb ZIF (probably hard to find) SSD would work fine. That said I wanted more than 16Gb for my test Joggler. I decided then to just use the 8Gb USB SSD stick and the 16Gb PATA SSD.

Loading up the PATA first and making the 8 Gb SSD USB stick dedicated to the /home directories. It works fine and I have 24Gb of space to play with.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
Post Reply