Re: SSD experiments
Posted: Thu Jul 07, 2016 2:23 pm
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.
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.