Hi.
I’m trying to finally install openSUSE 12.1 x86_64. Since it’s the first time I do this alone, I wanted to ask a couple of things:
I have 4 Gb of RAM. How much SWAP space should I use? Until now I used 2 Gb.
Is Btrfs a new file system? I saw that when selecting it in Partition Suggestion it adds several more subvolumes that Ext4 doesn’t. What FS should I keep?
Thanks.
By the way, what happened to “edit post” option in the forum? Is it just me or it was removed/hidden?
Thanks for answering. Now I have a problem. I have the main Linux partition of 22 Gb and SWAP 2 Gb, but it doesn’t let me change SWAP to 4 Gb. I tried to reduce Linux to 20 Gb, but SWAP says maximum value is still 2 Gb. What can I do? Delete both Linux and SWAP and rebuild them?
On 12/09/2011 03:46 PM, F style wrote:
>
> Thanks for answering. Now I have a problem. I have the main Linux
> partition of 22 Gb and SWAP 2 Gb, but it doesn’t let me change SWAP to 4
> Gb. I tried to reduce Linux to 20 Gb, but SWAP says maximum value is
> still 2 Gb. What can I do? Delete both Linux and SWAP and rebuild them?
You have to reduce the size of the main partition, move the swap partition down,
and then increase the size of the swap partition.
Depending on what you are doing with the machine, 2 GB of swap is probably
enough. I do a lot of code development on a machine with 3 GB RAM, and my system
hardly ever swaps. Doing a hibernate writes the contents of memory to the swap
file, but that is compressed and is usually a lot smaller than 1/2 the size of
the RAM.
As you are a neophyte, I would NOT recommend using btrfs. At the moment, the
tools for recovering from file system errors are not as good as for ext4. In
fact, I have considerable experience and I would not trust any real data to btrfs.
Depends on the order they are on the drive. You can only free or add space from the end of a partition. Thus if swap is first and root is second removing space from root does not help you also have to move root to free the space right after swap. Also normally OpensSUSE recommends 3 partitions swap, root,home. You don’t have to have a home partition but since all your personal data is there it makes it much much easier to upgrade or change destros if you have a separate home.
Show use you current layout
sudo fdisk -l
(note that is a lower case L not a one)
Unless you ‘sleep’/‘hibernate’ regular 2GB will be enough. My box uses 2GB swap, but has 4GB RAM, but it is never put to sleep. It hardly ever touches swap.
On 2011-12-10 04:56, caf4926 wrote:
> Unless you ‘sleep’/‘hibernate’ regular 2GB will be enough. My box uses
> 2GB swap, but has 4GB RAM, but it is never put to sleep. It hardly ever
> touches swap.
I have 8 GiB ram and a vast swap space - and I use it. I have seen about 3
or 5 GiB swap in use. I just need to open several instances of a video
editor made in Java that I need (cridmanager and projectx). Add to it
memory eaters like libreoffice, thunderbird and mozilla and you swap.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Since most of the time my box just sits there and at most runs web browsers - It hardly ever uses swap
If I start encoding video too, (which is seldom) then yes.