Welcome, Guest. Please login or register.

Author Topic: /  (Read 2478 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1139
    • Show all replies
    • http://
Re: SSD 'Friendly' OS/Filesystem
« on: January 24, 2009, 03:48:36 PM »
Quote
how does one configure an ubuntu for no swap ? disabling the swap partition will do ?


I'm not sure you can have no swap easily, however you can definately tune the kernel to discourage swapping.

You could try setting /proc/sys/vm/swappiness to zero. You can just echo into it on a running system or you can set vm.swappiness in sysctl.conf

Quote
I disabled all swap files but winXP still accesses my HDD every few seconds


Could be anything, first things to check are microsoft components though, indexing and windows update are usual suspects.
Restraining orders are just another way of saying I love you!
 

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1139
    • Show all replies
    • http://
Re: SSD 'Friendly' OS/Filesystem
« Reply #1 on: January 24, 2009, 07:11:19 PM »
Quote

yakumo9275 wrote:

for a one off

sudo swapoff -a

or more permanatly

just comment out the swap partition in the /etc/fstab file


Think carefully about what level of overcommit / how you want the oom killer to behave if using these methods.
Restraining orders are just another way of saying I love you!
 

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1139
    • Show all replies
    • http://
Re: SSD 'Friendly' OS/Filesystem
« Reply #2 on: January 25, 2009, 11:28:08 AM »
Quote

Lorraine wrote:
Okay that last post went a bit over my head. But I think I got the gist of it! :rtfm:

I have found a page with some Linux SSD info:

-- Link

Quote
Never choose to use a journaling file system on the SSD partitions


Wait wouldn't this mean most modern filesystems? Surely not.


That's just bollocks. With journaling off you have no way to verify the integrity of your disk if you have a crash whilst writing data. Unless you don't care about your data leave journaling on.

You can mimimize the journaling, i.e. data=writeback on ext3 but it's still not a good idea unless you have another trusted journal of your data elsewhere (i.e. a some sort of binary/write ahead log in your app).
Restraining orders are just another way of saying I love you!