You are not logged in.
http://aur.archlinux.org/packages.php?ID=31405
Useful if you have an OCZ SSD like me! Suggestions of improvements to the package are welcome. (note: I did not write the script)
Offline
Hey Fackamato
I just found your package today. I have a Vertex running my MythTV box, so I'll have to see what firmware it has and if I'm ready to do this. Do you know of a test to show results? Does it just speed up deletes? This drive would benefit because it has the LiveTV partition, which creates and deletes large files quickly.
Frank
Offline
Hey Fackamato
I just found your package today. I have a Vertex running my MythTV box, so I'll have to see what firmware it has and if I'm ready to do this. Do you know of a test to show results? Does it just speed up deletes? This drive would benefit because it has the LiveTV partition, which creates and deletes large files quickly.
Frank
It only speeds up the deletes. You need firmware 1.4 for this to work. (you need firmware 1.3 to flash to 1.4)
There's another firmware from OCZ (check their forums) that has built-in GC (garbage collection) which apparently does a similar thing as TRIM. So, I would suggest you use that instead, that way you don't have to worry about running wiper, the drive would "trim" itself whenever somewhat idle. When Linux fully supports TRIM (and the filesystem that you use also support it) then you can switch to 1.4. ![]()
(the only OS that currently implements TRIM correctly is Windows 7)
Offline
Thank you for the wiper package. I tested it on my Intel X25-M postville/G2 with the latest firmware that supports TRIM.
I'm using it on my ext4 mounted / root partition:
[jordy@jordy-desktop ~]$ sudo wiper /dev/sda1
wiper: Linux SATA SSD TRIM utility, version 2.5, by Mark Lord.
Preparing for online TRIM of free space on /dev/sda1 (ext4 mounted read-write at /).
This will be a DRY-RUN only. Use --commit to do it for real.
Creating temporary file (69360723 KB)..
Syncing disks..
Simulating TRIM operations..
(dry-run) trimming 138721448 sectors from 2269 ranges
Removing temporary file..
Syncing disks..
Done.
[jordy@jordy-desktop ~]$ sudo wiper /dev/sda1 --commit
wiper: Linux SATA SSD TRIM utility, version 2.5, by Mark Lord.
Preparing for online TRIM of free space on /dev/sda1 (ext4 mounted read-write at /).
This operation could silently destroy your data. Are you sure (y/N)? y
Creating temporary file (69360783 KB)..
Syncing disks..
Beginning TRIM operations..
/dev/sda:
trimming 138721568 sectors from 2269 ranges
FAILED: Input/output error
Removing temporary file..
Syncing disks..
Aborted.Any idea why it goes wrong? And any idea how you can enable TRIM/discard on ext4?
I found this: http://osdir.com/ml/linux-ext4/2009-11/msg00268.html
Adding discard: "/dev/sda1 / ext4 defaults,noatime,<discard> 0 1" doesn't work
Last edited by jordz (2009-12-18 13:30:44)
Offline
I used the new 2.6.32 kernel from testing and now I can enable the discard mount option as described in the previous link.
+discard Controls whether ext4 should issue discard/TRIM
+nodiscard(*) commands to the underlying block device when
+ blocks are freed. This is useful for SSD devices
+ and sparse/thinly-provisioned LUNs, but it is off
+ by default until sufficient testing has been done.
Offline
I used the new 2.6.32 kernel from testing and now I can enable the discard mount option as described in the previous link.
+discard Controls whether ext4 should issue discard/TRIM
+nodiscard(*) commands to the underlying block device when
+ blocks are freed. This is useful for SSD devices
+ and sparse/thinly-provisioned LUNs, but it is off
+ by default until sufficient testing has been done.
Just order an OCZ vertex SSD.
Great info! Thanks!
Arch Linux i686(kernel: 3.1.7-ck, xfce) running on Toshiba s100 (Pentium M 1.73GHz, 1.5GB RAM, 40GB HD, Nvidia 6600/6200 TE 64MB)
Offline
This package might be useful for you SSD guys as well: http://aur.archlinux.org/packages.php?ID=34354
Automated graphical user interface for wiper.sh
Offline