Guest User!

You are not Sophos Staff.

[8.920][ANSWERED] will there be trim support for SSD?

I remember reading in the forums previously concerning 8.3 that v9 will have trim support for SSD.

Will the ultimate release of 8.9 include trim support for ssd?
Parents
  • Successfully running 8.930 on a Patriot 32GB Torqx 2ssd (sata 2).

    As per the link posted by Mario (post #3) I added a ram disk for tmp file usage.  (The box has 4GB).   Straight from the link, I edited /etc/fstab and added:



    #added for moving tmp file to ramdisk instead of ssd

    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0




    After reboot df -h shows:



    astaro:/home/login # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6       5.4G  1.7G  3.5G  33% /
    tmpfs           2.0G  168K  2.0G   1% /dev
    tmpfs           2.0G     0  2.0G   0% /dev/shm
    /dev/sda1       348M   30M  301M   9% /boot
    /dev/sda5       9.1G  1.5G  7.2G  17% /var/storage
    /dev/sda7        12G  868M   11G   8% /var/log
    /dev/sda8       2.0G   52K  2.0G   1% /tmp
    tmpfs           2.0G   52K  2.0G   1% /tmp
    tmpfs           2.0G     0  2.0G   0% /var/spool
    tmpfs           2.0G     0  2.0G   0% /var/tmp
    tmpfs           2.0G   24K  2.0G   1% /var/storage/chroot-smtp/tmp/ram



    I found this link to provide a nice description of tmpfs versus ramfs:

    http://www.thegeekstuff.com/2008/11/overview-of-ramfs-and-tmpfs-on-linux/



    I also note /etc/fstab as created by astaro installer disables metadata updating on file access.  /etc/fstab on install contains:



    # written by Astaro Installer

    UUID=7677ba51-7f46-4f22-b8c1-860dd5ee2012 /boot ext4 defaults,ro,noatime 1 2
    UUID=86cde415-7052-4f4b-bc89-123e6ececfc8 swap swap sw 0 0
    UUID=7726c8e4-691b-4d79-9224-add2d07f69f5 /opt/inst ext4 defaults,noauto,noatim
    UUID=3f5cb4f4-92b8-4a82-bf9f-4a2b443c00d0 /var/storage ext4 defaults,noatime 1
    UUID=1912acc0-2cab-43aa-83d9-d5d3bd6901e5 / ext4 defaults,noatime 1 1
    UUID=4ad236fe-22d2-4d88-8faf-c5942baed2f8 /var/log ext4 defaults,noatime 1 2
    UUID=29fabaf9-ec4f-4b08-a437-1bc7cba03389 /tmp ext4 defaults,noatime 1 2

Reply
  • Successfully running 8.930 on a Patriot 32GB Torqx 2ssd (sata 2).

    As per the link posted by Mario (post #3) I added a ram disk for tmp file usage.  (The box has 4GB).   Straight from the link, I edited /etc/fstab and added:



    #added for moving tmp file to ramdisk instead of ssd

    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0




    After reboot df -h shows:



    astaro:/home/login # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6       5.4G  1.7G  3.5G  33% /
    tmpfs           2.0G  168K  2.0G   1% /dev
    tmpfs           2.0G     0  2.0G   0% /dev/shm
    /dev/sda1       348M   30M  301M   9% /boot
    /dev/sda5       9.1G  1.5G  7.2G  17% /var/storage
    /dev/sda7        12G  868M   11G   8% /var/log
    /dev/sda8       2.0G   52K  2.0G   1% /tmp
    tmpfs           2.0G   52K  2.0G   1% /tmp
    tmpfs           2.0G     0  2.0G   0% /var/spool
    tmpfs           2.0G     0  2.0G   0% /var/tmp
    tmpfs           2.0G   24K  2.0G   1% /var/storage/chroot-smtp/tmp/ram



    I found this link to provide a nice description of tmpfs versus ramfs:

    http://www.thegeekstuff.com/2008/11/overview-of-ramfs-and-tmpfs-on-linux/



    I also note /etc/fstab as created by astaro installer disables metadata updating on file access.  /etc/fstab on install contains:



    # written by Astaro Installer

    UUID=7677ba51-7f46-4f22-b8c1-860dd5ee2012 /boot ext4 defaults,ro,noatime 1 2
    UUID=86cde415-7052-4f4b-bc89-123e6ececfc8 swap swap sw 0 0
    UUID=7726c8e4-691b-4d79-9224-add2d07f69f5 /opt/inst ext4 defaults,noauto,noatim
    UUID=3f5cb4f4-92b8-4a82-bf9f-4a2b443c00d0 /var/storage ext4 defaults,noatime 1
    UUID=1912acc0-2cab-43aa-83d9-d5d3bd6901e5 / ext4 defaults,noatime 1 1
    UUID=4ad236fe-22d2-4d88-8faf-c5942baed2f8 /var/log ext4 defaults,noatime 1 2
    UUID=29fabaf9-ec4f-4b08-a437-1bc7cba03389 /tmp ext4 defaults,noatime 1 2

Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?