Forum › Forums › New users › New Users and General Questions › Improving performance of old multi-core hardware › Reply To: Improving performance of old multi-core hardware
Sata ssd drives. Run trim manually. It pays to check if sata drive is trim capable 1st. Here is the manual commands to run trim.
To trim home partition the command is
fstrim -v /home
To trim root partition the command is
fstrim -v /
To see if ssd is trim capable , I mention this because a couple of my atom ide ssd drives are not trim capable.
hdparm -I /dev/ssdname,
replacing “ssdname” with the name of your SSD. That is usually /dev/sda. It should be mounted. Gparted will supply some info on mount. Name of ssd can be found this way. By the way. In Terminal. Trim and /etc/fstab can take up it’s own thread. I am just showing how to do this manually. Instead of during bootup. Using root terminal in Antix.
parted -l
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 1049kB 8390MB 8389MB primary ext4
1 8390MB 60.0GB 51.6GB primary ext4
hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: KINGSTON SV300S37A60G
Serial Number: 50026B7743028DAC
Firmware Revision: 521ABBF0
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
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: 117231408
LBA48 user addressable sectors: 117231408
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 57241 MBytes
device size with M = 1000*1000: 60022 MBytes (60 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
Write-Read-Verify feature set
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* unknown 119[6]
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* NCQ priority information
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Data Tables (AC5)
* reserved 69[3]
* DOWNLOAD MICROCODE DMA command
* SET MAX SETPASSWORD/UNLOCK DMA commands
* WRITE BUFFER DMA command
* READ BUFFER DMA command
* Data Set Management TRIM supported (limit 1 block)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50026b7743028dac
NAA : 5
IEEE OUI : 0026b7
Unique ID : 743028dac
Checksum: correct
<code></code>
fstrim -v /
/: 4.1 GiB (4359647232 bytes) trimmed<code></code>
fstrim -v /home
/home: 27 GiB (29034389504 bytes) trimmed
Depending on speed of laptop and speed of ssd drive. You have to be patient and wait for it to finish. Mine takes about 40 seconds. YMMV from mine.
- This reply was modified 8 years, 6 months ago by rokytnji.
Sometimes I drive a crooked road to get my mind straight.
I don't suffer from insanity. I enjoy every minute of it.
Motorcycle racing is rocket science.
Linux Registered User # 475019
How to Search for AntiX solutions to your problems