linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Options for SSD - autodefrag etc?
@ 2014-01-23 22:23 KC
  2014-01-24  6:54 ` Duncan
  2014-01-24 20:14 ` Kai Krakow
  0 siblings, 2 replies; 15+ messages in thread
From: KC @ 2014-01-23 22:23 UTC (permalink / raw)
  To: linux-btrfs

I was wondering about whether using options like "autodefrag" and 
"inode_cache" on SSDs.

On one hand, one always hears that defragmentation of SSD is a no-no, 
does that apply to BTRFS's autodefrag?
Also, just recently, I heard something similar about "inode_cache".

On the other hand, Arch BTRFS wiki recommends to use both options on SSDs
  http://wiki.archlinux.org/index.php/Btrfs#Mount_options

So to clear things up, I ask at the source where people should know best.

Does using those options on SSDs gives any benefits and causes 
non-negligible increase in SSD wear?

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: Options for SSD - autodefrag etc?
@ 2014-01-24 18:55 KC
  2014-01-24 20:27 ` Kai Krakow
  0 siblings, 1 reply; 15+ messages in thread
From: KC @ 2014-01-24 18:55 UTC (permalink / raw)
  To: linux-btrfs

 >>> From: Duncan <1i5t5.duncan <at> cox.net>
 >>>  Subject: Re: Options for SSD - autodefrag etc?
 >>>  Newsgroups: gmane.comp.file-systems.btrfs
 >>>  Date: 2014-01-24 06:54:31 GMT (11 hours and 44 minutes ago)
 >>> KC posted on Thu, 23 Jan 2014 23:23:35 +0100 as excerpted:


Duncan, thank you for this outstanding explanation. It was very 
informative and helpful.
I only have one follow-up question.

I followed your advice on NOCOW for virtualbox images and torrents like so:
chattr -v /home/juha/VirtualBox\ VMs/
chattr -RC /home/juha/Downloads/torrent/#unfinished

As you can see, i used the recursive flag. However, I do not know 
whether this will automatically apply to files that will be created in 
the future in subfolders that do not yet exist.

Also, how can I confirm whether a file/folder has a NOCOW attribute set 
on it?

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-01-28 11:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23 22:23 Options for SSD - autodefrag etc? KC
2014-01-24  6:54 ` Duncan
2014-01-25 12:54   ` Martin Steigerwald
2014-01-26 21:44     ` Duncan
2014-01-24 20:14 ` Kai Krakow
2014-01-25 13:11   ` Martin Steigerwald
2014-01-25 14:06     ` Kai Krakow
2014-01-25 16:19       ` Martin Steigerwald
  -- strict thread matches above, loose matches on Subject: below --
2014-01-24 18:55 KC
2014-01-24 20:27 ` Kai Krakow
2014-01-25  5:09   ` Duncan
2014-01-25 13:33   ` Imran Geriskovan
2014-01-25 14:01     ` Martin Steigerwald
2014-01-26 17:18       ` Duncan
     [not found]         ` <KA9w1n01A0tVtje01A9yLn>
2014-01-28 11:41           ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).