Re: SSD drives

2012-05-29 Thread Juan Orti Alcaine
2012/5/28 Juan Orti Alcaine : > 2012/5/28 Milan Broz >> >> On 05/28/2012 04:55 PM, Roberto Ragusa wrote: >> > On 05/26/2012 03:53 PM, Juan Orti Alcaine wrote: >> > >> >> I suspect it isn't working because "cryptsetup status >> >> /dev/mapper/luks-uuid" does not say anything about discards. I think

Re: SSD drives

2012-05-28 Thread Juan Orti Alcaine
2012/5/28 Milan Broz > > On 05/28/2012 04:55 PM, Roberto Ragusa wrote: > > On 05/26/2012 03:53 PM, Juan Orti Alcaine wrote: > > > >> I suspect it isn't working because "cryptsetup status > >> /dev/mapper/luks-uuid" does not say anything about discards. I think > >> it must say "flags: discards" >

Re: SSD drives

2012-05-28 Thread Milan Broz
On 05/28/2012 04:55 PM, Roberto Ragusa wrote: > On 05/26/2012 03:53 PM, Juan Orti Alcaine wrote: > >> I suspect it isn't working because "cryptsetup status >> /dev/mapper/luks-uuid" does not say anything about discards. I think >> it must say "flags: discards" >> >> Any suggestion? lsblk -D it sh

Re: SSD drives

2012-05-28 Thread Roberto Ragusa
On 05/26/2012 03:53 PM, Juan Orti Alcaine wrote: > I suspect it isn't working because "cryptsetup status > /dev/mapper/luks-uuid" does not say anything about discards. I think > it must say "flags: discards" > > Any suggestion? Directly testing if discard is working is doable, but not easy. Crea

Re: SSD drives

2012-05-26 Thread Juan Orti Alcaine
2012/5/24 Michal Schmidt : > On 05/24/2012 03:20 PM, Gerry Reno wrote: >> >> So is F17 going to support TRIM w/LUKS automatically? >> >> Or do we need to perform some special configuration to get TRIM >> w/LUKS?  (Yes, I understand some attacker might be able to guess my >> filesystem type due to e

Re: SSD drives

2012-05-25 Thread Gerry Reno
On 05/25/2012 04:40 AM, Roberto Ragusa wrote: > On 05/24/2012 03:20 PM, Gerry Reno wrote: > >> Since I'm putting an SSD in my laptop this is important because the laptop >> drive must be encrypted. > I hope your CPU has AES-NI. > A powerful i7 does AES at 50MiB/s (don't remember exactly, but below

Re: SSD drives

2012-05-25 Thread Roberto Ragusa
On 05/24/2012 03:20 PM, Gerry Reno wrote: > Since I'm putting an SSD in my laptop this is important because the laptop > drive must be encrypted. I hope your CPU has AES-NI. A powerful i7 does AES at 50MiB/s (don't remember exactly, but below 100MiB/s) without AES-NI and about 900MiB/s with AES-

Re: SSD drives

2012-05-24 Thread Juan Orti Alcaine
2012/5/24 Lennart Poettering : > On Thu, 24.05.12 10:30, Juan Orti Alcaine (j.orti.alca...@gmail.com) wrote: > >> - Disable the readahead service: >>      systemctl disable systemd-readahead-collect.service >>      systemctl disable systemd-readahead-replay.service > > The readahead logic still hel

Re: SSD drives

2012-05-24 Thread Lennart Poettering
On Thu, 24.05.12 10:30, Juan Orti Alcaine (j.orti.alca...@gmail.com) wrote: > - Disable the readahead service: > systemctl disable systemd-readahead-collect.service > systemctl disable systemd-readahead-replay.service The readahead logic still helps on SSDs actually, simply because SSDs

Re: SSD drives

2012-05-24 Thread Michal Schmidt
On 05/24/2012 03:20 PM, Gerry Reno wrote: I also read here: http://ask.fedoraproject.org/question/909/enabling-trimdiscard-on-f16-using-lvm-on-luks about using TRIM with LUKS. Since I'm putting an SSD in my laptop this is important because the laptop drive must be encrypted. So is F17 going to

Re: SSD drives

2012-05-24 Thread Gerry Reno
On 05/24/2012 04:45 AM, drago01 wrote: > On Thu, May 24, 2012 at 10:30 AM, Juan Orti Alcaine > wrote: >> 2012/5/24 Gerry Reno >>> What does Fedora do currently, if anything, to optimize for solid-state >>> drives (SSD). >>> >>> Things like swap and logging can generate a huge number of writes.

Re: SSD drives

2012-05-24 Thread Michal Schmidt
On 05/24/2012 10:45 AM, drago01 wrote: On Thu, May 24, 2012 at 10:30 AM, Juan Orti Alcaine - Disable the readahead service: systemctl disable systemd-readahead-collect.service systemctl disable systemd-readahead-replay.service systemd should just do that by default (it disables it al

Re: SSD drives

2012-05-24 Thread drago01
On Thu, May 24, 2012 at 10:30 AM, Juan Orti Alcaine wrote: > 2012/5/24 Gerry Reno >> >> What does Fedora do currently, if anything, to optimize for solid-state >> drives (SSD). >> >> Things like swap and logging can generate a huge number of writes.  So I >> suppose those should maybe be placed

Re: SSD drives

2012-05-24 Thread Juan Orti Alcaine
2012/5/24 Gerry Reno > > What does Fedora do currently, if anything, to optimize for solid-state > drives (SSD). > > Things like swap and logging can generate a huge number of writes.  So I > suppose those should maybe be placed on a > rotating drive if one is available but if not does Fedora do

Re: SSD drives

2012-05-24 Thread Roberto Ragusa
On 05/24/2012 02:38 AM, Gerry Reno wrote: > What does Fedora do currently, if anything, to optimize for solid-state > drives (SSD). > > Things like swap and logging can generate a huge number of writes. So I > suppose those should maybe be placed on a > rotating drive if one is available but if