Re: Recommended settings for SSD

2013-05-26 Thread cwillu
On Sun, May 26, 2013 at 9:16 AM, Harald Glatt wrote: > I don't know a better way to check than doing df -h before and > after... If you use space_cache you have to clear_cache though to make > the numbers be current for sure each time before looking at df. Not sure what you're thinking of; space_

Re: Recommended settings for SSD

2013-05-26 Thread Harald Glatt
I don't know a better way to check than doing df -h before and after... If you use space_cache you have to clear_cache though to make the numbers be current for sure each time before looking at df. Old kernel can be a problem. You can use the Arch CDs to do it, they usually come with the newest ke

Re: Recommended settings for SSD

2013-05-26 Thread Leonidas Spyropoulos
On Sat, May 25, 2013 at 11:33 PM, Harald Glatt wrote: > Data that already exists will only be compressed on re-write. You can > do it with btrfs fi defrag and a script that traverses the fs to call > defrag on every file. Another good way is the find command that has > been outlined here: > > http

Re: Recommended settings for SSD

2013-05-25 Thread Martin Steigerwald
Am Samstag, 25. Mai 2013, 23:29:41 schrieb Leonidas Spyropoulos: > On Sat, May 25, 2013 at 1:13 PM, Martin Steigerwald > wrote: > > Am Samstag, 25. Mai 2013, 03:58:12 schrieb Duncan: > > [...] > > And can be verified by: > > > > martin@merkaba:~> grep ssd /proc/mounts > > /dev/mapper/merkaba-debi

Re: Recommended settings for SSD

2013-05-25 Thread Martin Steigerwald
Am Samstag, 25. Mai 2013, 14:13:07 schrieb Martin Steigerwald: > The SSD is in use for about 2 years. I left about 25 GiB free of the 300 GB > it > has. > > merkaba:~> smartctl -a /dev/sda | grep Host > 225 Host_Writes_32MiB 0x0032 100 100 000Old_age Always > > -

Re: Recommended settings for SSD

2013-05-25 Thread Harald Glatt
Data that already exists will only be compressed on re-write. You can do it with btrfs fi defrag and a script that traverses the fs to call defrag on every file. Another good way is the find command that has been outlined here: https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#Defragmenting_a_di

Re: Recommended settings for SSD

2013-05-25 Thread Leonidas Spyropoulos
On Sat, May 25, 2013 at 1:13 PM, Martin Steigerwald wrote: > Am Samstag, 25. Mai 2013, 03:58:12 schrieb Duncan: > [...] > And can be verified by: > > martin@merkaba:~> grep ssd /proc/mounts > /dev/mapper/merkaba-debian / btrfs rw,noatime,compress=lzo,ssd,space_cache 0 0 > /dev/mapper/merkaba-debia

Re: Recommended settings for SSD

2013-05-25 Thread Duncan
Martin Steigerwald posted on Sat, 25 May 2013 14:13:07 +0200 as excerpted: > Am Samstag, 25. Mai 2013, 03:58:12 schrieb Duncan: >> Leonidas Spyropoulos posted on Fri, 24 May 2013 23:38:17 +0100 as >> >> excerpted: >> > On 24 May 2013 21:07, "cwillu" wrote: >> >> No need to specify ssd, it's auto

Re: Recommended settings for SSD

2013-05-25 Thread Martin Steigerwald
Am Samstag, 25. Mai 2013, 03:58:12 schrieb Duncan: > Leonidas Spyropoulos posted on Fri, 24 May 2013 23:38:17 +0100 as > > excerpted: > > On 24 May 2013 21:07, "cwillu" wrote: > >> No need to specify ssd, it's automatically detected. > > > > I'm not so sure it did detected. When I manually set i

Re: Recommended settings for SSD

2013-05-25 Thread Russell Coker
On Sat, 25 May 2013, Leonidas Spyropoulos wrote: > I decided not to add the discard option and run the daily script from > cron (fstrim) as I think there's a performance hit with the discard. > It mainly depends on your hardware I think. I experienced a massive performance hit from discard and tu

Re: Recommended settings for SSD

2013-05-25 Thread Leonidas Spyropoulos
On Sat, May 25, 2013 at 4:58 AM, Duncan <1i5t5.dun...@cox.net> wrote: > > Without going back to check the wiki, IIRC it was there that the /sys > paths it checks for that detection are listed. Those paths are then > based on what the drive itself claims. If it claims to be rotating > storage... I

Re: Recommended settings for SSD

2013-05-24 Thread Duncan
Leonidas Spyropoulos posted on Fri, 24 May 2013 23:38:17 +0100 as excerpted: > On 24 May 2013 21:07, "cwillu" wrote: >> >> No need to specify ssd, it's automatically detected. > I'm not so sure it did detected. When I manually set it I saw > significant improvement. Without going back to check t

Re: Recommended settings for SSD

2013-05-24 Thread Leonidas Spyropoulos
On 24 May 2013 21:07, "cwillu" wrote: > > No need to specify ssd, it's automatically detected. I'm not so sure it did detected. When I manually set it I saw significant improvement. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger

Re: Recommended settings for SSD

2013-05-24 Thread cwillu
> At the moment I am using: > defaults,noatime,nodiratime,ssd,subvol=@home No need to specify ssd, it's automatically detected. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel

Recommended settings for SSD

2013-05-24 Thread Leonidas Spyropoulos
Hello list, I just got myself a new SSD and decided to install yet another time btrfs with ubuntu 13.04. I would like to ask if you suggest anything for recommended options for mount on Crucial S4 SSD. At the moment I am using: defaults,noatime,nodiratime,ssd,subvol=@home Anything else someone r