Mick <michaelkintz...@gmail.com> wrote:

> On Tuesday 14 Feb 2017 01:51:01 wabe wrote:
> > Mick <michaelkintz...@gmail.com> wrote:  
> 
> > > Have you noticed a difference between mounting partitions on them
> > > with the discard option, Vs running fstrim on a cron job?  
> > 
> > I noticed a big performance impact with my old Corsair 60GB SSD
> > (Force3 IIRC) when I used the discard option in fstab. So I decided
> > to use the fstrim command instead, before I did my weekly backups.
> > The fstrim command always needed about 10 minutes or so to complete
> > its job.
> > 
> > About 1 year ago I replaced the Corsair with a Samsung SSD 850 PRO.
> > With this device I did not notice a performance impact when the
> > discard option is enabled and so I decided to use it.
> > Btw: On the Samsung SSDs the fstrim command only needs a second or
> > so to do its job.
> > 
> > I never used a benchmark program to check if there is really no
> > difference. But at least I don't notice any in my every day use.
> > 
> > My old Corsair SSD (bought it in 2011) is still in use as swap
> > space device in my Win7 machine (together with a SSD 850 PRO as
> > system device). Before that, I used it as system disk on my gentoo
> > machine. I also used it for my users mail and thumbnail directories
> > and also for /log, /tmp, /var and the whole portage tree. Before
> > I upgraded my gentoo machine to 16GB RAM I also used the SSD for
> > portages temporary files. So it was really in heavy use. And is
> > still running without problems.
> > Before I installed the Corsair SSD into my Win machine, I used
> > fstrim to increase the reserved space to 50%. I hope that it will
> > run for at least another 6 years. ;-)
> > 
> > --
> > Regards
> > wabe  
> 
> Thanks wabe, this is really interesting.  I was using discard and
> can't say I noticed any performance penalty on the OCZ drive.  I
> removed it and set up a fstrim cron job and suddenly there is a major
> I/O bottleneck when the cron job runs.  Perhaps I should be running
> it more often ...

I only used fstrim in single user mode before I made my weekly 
backup. I can imagine that it will cause a I/O bottleneck while it 
runs.

P.S.: I wrote by mistake, that I used fstrim to reserve free space
on the drives. Actually I used hdparm for that.

--
Regards
wabe

Reply via email to