Find the answer to your Linux question:
Results 1 to 9 of 9
wondering what services and stuff can be or should be tweaked for it? thanks...
  1. #1
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183

    tweaks for 60 gig ssd drive

    wondering what services and stuff can be or should be tweaked for it? thanks

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    The only thing I have to suggest when it comes to SSD's is to either use ext2, or if you use ext3, add commit=60 to the options in the fstab for every ext3 mount on the SSD.

  3. #3
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183
    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/sda1 :
    UUID=1130dd2d-c3c5-48cc-8685-cb981c65c995 / ext3 relatime,errors=remount-ro 0 1
    # Entry for /dev/sda5 :
    UUID=364b47b2-6443-43d4-b3ae-3f3c514da038 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/sdb5 /media/New\040Volume ntfs-3g defaults,locale=en_US.UTF-8 0 0
    /dev/sdc5 /media/New\040Volume_ ntfs-3g defaults,locale=en_US.UTF-8 0 0
    thats my fstab where do i put that? and what does it do? thanks

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Well, the question here is which drive is the SSD? If it's the one running linux, you'd place it like so...

    UUID=1130dd2d-c3c5-48cc-8685-cb981c65c995 / ext3 relatime,commit=60,errors=remount-ro 0 1

    If it's one of the "New" ones with the NTFS partitions, there's nothing you need to do.

  5. #5
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183
    its a ocz vertex 60 gig this one Newegg.com - OCZ Vertex Series OCZSSD2-1VTX60G 2.5&#34; 60GB SATA II MLC Internal Solid state disk &#40;SSD&#41; - Solid State Disks when i installed on it i did what they say to do i cleaned disk with diskpart made alignment marked it as active then booted up installer installer formatted it and installed the OS, and yes this is my OS drive nothing else on it besides a virtualbox , virtual drive i made thanks

  6. #6
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Okay, then you'd make the above insert. It has to be done with root privileges, so you need to use some form of sudo with the chosen editor. I don't know if you chose kde or gnome for your desktop, but I'll give you the gnome instruction since it seems to be the most popular:

    * [Alt + F2]

    * In the command pop-up: gksu gedit /etc/fstab

    * Next pop-up: your password.

    * In gedit, make the above mentioned edit, then save.

    * Restart the computer.

    This will help prolong the life of your SSD by increasing the journal write time from every five seconds to once a minute. It's a balance between acceptable risk in the event of a crash (only up to the last minute of work can be potentially lost) and using up write cycles on an SSD; the default setting could kill the drive early, adding 'commit=60' should give it a comparable life span as normal drives.

  7. #7
    Linux Newbie leo5111's Avatar
    Join Date
    Oct 2006
    Location
    escaped from XP hell
    Posts
    183
    someone suggested changing it to noatime should i change it to noatime as well as youre tweak? thanks

  8. #8
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    "noatime" will disable the updating of the "last accessed" inode metadata. If it's not information you need, then you can add noatime for additional prolonged lifespan and as a bonus up to a 4% increase in performance.

    Approved.

  9. #9
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,577
    Just to add to D-cat's very helpful advice. A SSD has a limited amount of read/writes. So, you want to limit the amount of times the operating system writes to the disk. You should use a non-journaling filesystem like ext2, whereas ext3, ext4, jfs and xfs are journaling file systems.

    Another way to limit the read/writes is to eliminate the swap partition. This would force the system to use the system memory for everything, so you should install the maximum amount (usually 2GB for a 32-bit system).

    I recently replaced the 4GB SSD in my Eee PC with a 64GB SSD, and I installed Ubuntu that way.

    EDIT: If you are running windows as a virtual system, you should know that it has a "swap" file also. It is called "Virtual Memory" or the pagefile system. You can control how windows manages this too.
    Last edited by waterhead; 07-25-2009 at 12:15 PM.
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...