Re: TRIM support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 2, 2011 at 11:39 PM, Leonidas Spyropoulos
<artafinde@xxxxxxxxx> wrote:
> On Sat, Jul 2, 2011 at 8:45 PM, Calvin Walton <calvin.walton@xxxxxxxxxx> wrote:
>> On Sat, 2011-07-02 at 19:08 +0100, Leonidas Spyropoulos wrote:
>>> Hello,
>>>
>>> I just installed an archlinux with btrfs root partition and would like
>>> to set the correct mount properties
>>> Following this:
>>> https://wiki.archlinux.org/index.php/Solid_State_Drives
>>> it says there that I should use the discard mount parameter to enable TRIM.
>>>
>>> I would like to ask by using ssd mount parameter would TRIM be enabled?
>>> The SSD is Intel 320 Series 120Gb
>>
>> No, the "ssd" mount parameter has nothing to do with TRIM.
>>
>> The "ssd" mount parameter adjusts a couple of tuning parameters where
>> the default setting is designed to improve performance on spinning HDD,
>> and instead tunes for the random-access ability of an SSD.
>>
>> The ssd option is automatically enabled if the kernel detects that your
>> drive is an SSD (you can check with 'cat /proc/mounts').
>>
>> The discard option is not currently automatically enabled; I think there
>> may have been some performance issues in certain cases with drives that
>> have slow trim implementations. But feel free to give it a try.
>>
>> --
>> Calvin Walton <calvin.walton@xxxxxxxxxx>
>>
>>

On the same system when I try to compile the btrfs-tools I get an error.
Since on the wiki you mention only the packages for Fedora and Debian,

Which are the requirements for the btrfs tools?

PS: AUR package is broken as well.

-- 
Caution: breathing may be hazardous to your health.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux