Questions tagged [trim]

46 questions
4
votes
2 answers

How is TRIM handled when cloning a disk with dd?

The TRIM command allows an OS to inform an SSD which sectors contain data, and which are free. This allows the disk to re-use free sectors internally and improves wear leveling. Now, if an SSD is cloned to anoher via dd, each single sector is copied…
sweber
  • 141
  • 1
4
votes
4 answers

Linux tool to reset Intel X25 SSDs wear leveling tables?

I'm aware of the DOS utility to "Reset" an Intel SSD to factory settings, but I'd rather not shut down my system to do this to my SSDs. Supposedly newer kernels support TRIM, but I haven't found any utilities to actually run TRIM. Has anyone found a…
Joel K
  • 5,765
  • 2
  • 29
  • 34
3
votes
3 answers

Using SSD drives in a raid in an operation involving little to no deletes

From what I've been able to understand when reading about the case with Solid State drives and raids, the problem is that TRIM cannot be used for them in a raid configuration, thus, resulting in the disks becoming slower over time when files are…
3
votes
1 answer

Is TRIM possible on SSD disks in RAID 1?

I am going to build a new server to handle a high-traffic php/mysql site. I am going to use SSD disks to benefit from fast random read performance but really got confused about choosing the right SSD type and (possible) RAID arrangement. I need a…
alfish
  • 3,027
  • 15
  • 45
  • 68
3
votes
2 answers

SSD on Vmware ESXI 4 (TRIM? Good Idea?)

I just posted about finding bottle necks and have narrowed it down to having way too many VMs on my machine on one 15K SAS drive. I have plenty of cores and plenty of ram. So I am planning on putting 6 VMs on one drive (so 5 drives for 30 VMs). I am…
nextgenneo
  • 233
  • 1
  • 4
  • 10
3
votes
2 answers

When and how often does ZFS 'autotrim' take place?

I have read "Add TRIM support" article, but failed to get a clue for "When and how often does ZFS autotrim take place?" And How can I observe activities of autotrim? Thanks for your comments in advance.
sohnman
  • 53
  • 1
  • 7
2
votes
0 answers

Is there a "TRIM" command for dmcrypt devices?

When using an encrypted drive in a virtual machine, the VM image starts very small if you do not initialize the drive with random data. When you fill the drive, it grows, but when you delete files it doesn't shrink. With a not encrypted drive, you…
allo
  • 1,524
  • 1
  • 19
  • 35
2
votes
1 answer

SSD fstrim on CentOS 6.x with software raid5

I have some CentOS 6.x servers. They have software raid1 and fstrim works well there. On one of the servers, I decided to do software raid5 and ext4. I can mount it with discard and there is no error message. However if I decide to run fstrim, I get…
Nick
  • 786
  • 2
  • 12
  • 37
2
votes
1 answer

TRIM Support in PERC H310 Mini

I am running Debian 8 on a Dell PowerEdge R420. The OS is installed onto a INTEL SSDSC2BA800G3T SSD running the 5DV1DL03 firmware. The SSD is connected through a PERC - H310 RAID controller (fw 2.121.14-3811). There is no RAID configured, the SSD…
rasebo
  • 161
  • 5
2
votes
1 answer

Is it really necessary to use fstrim on Samsung SM843T SSDs?

Should we schedule periodical fstrims on Samsung SSD drives? What happens if we don't run such periodical scripts? I am highlighting the model on the Title because I am assuming that the answer is model/manufacturer specific. What we are using: 2…
2
votes
1 answer

LSI 9207-8i and Samsung 850 PRO TRIM support

A Dell R610 server with LSI 9207-8i HBA card has 6 Samsung 850 PRO SSDs connected to it. hdparm shows TRIM support: sudo hdparm -I /dev/sdc | grep -i trim * Data Set Management TRIM supported (limit 8 blocks) However executing the…
A.Jesin
  • 424
  • 1
  • 4
  • 14
2
votes
0 answers

TRIM on OCZ RevoDrive 3 on CentOS

I've got an OCZ RevoDrive 3 mounted as / on my CentOS 6.3 box running kernel 2.6.32-220.17.1.el6.x86_64. /boot is on a HDD since OCZ's driver apparently doesn't yet support booting directly to it. While testing, the drive mounted with the 'discard'…
Seventoes
  • 153
  • 7
2
votes
3 answers

SSD TRIM Support in Snow Leopard

Does Mac OS X Snow Leopard officially support SSD TRIM yet? If not, is there an expected availability? Also, is there a brand of SSD that is most compatible with a late-2009 Mac Pro?
Mark Richman
  • 286
  • 5
  • 15
1
vote
2 answers

Lack of TRIM support -- will benchmarks get progressively slower on ZFS + SSD?

Context: I'm on a Toshiba 512 GB NVMe (Model: KXG50ZNV512G) I'm seeing this weird behaviour while benchmarking Postgres on ZFS-on-Linux (via pgbench), where the second and third runs of a benchmark are progressively slower than the first run. Here…
Saurabh Nanda
  • 449
  • 1
  • 7
  • 17
1
vote
1 answer

Repurpose a used SSD - how to TRIM it?

I am going to put a used SSD into a server to boot from it and hold the OS itself, while making a RAID1 from two other HDDs. Since the SSD has been used, do I need to trim it beforehand and how? Or do I just shove it in the server and use it right…
Pavel Tankov
  • 367
  • 3
  • 15