Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Swap partition for Xubuntu desktop application.

  1. #1
    Join Date
    Dec 2009
    Beans
    112

    Swap partition for Xubuntu desktop application.

    I have installed Xubuntu on my core i5 Dell machine. I have 4 GB ram. During installation, I create the manual partition as

    Code:
    /boot    500 MB
    /swap    8 GB
    /          60 GB
    /home   (rest of the hard disk space)
    I shall use GIMP and Kdenlive on this PC. The question is, is the swap partition sufficient for such software? I never user hibernation on the laptop. Kindly guide me.

  2. #2
    Join Date
    May 2010
    Beans
    1,255

    Re: Swap partition for Xubuntu desktop application.

    I'd put 1Gb on /boot but otherwise looks OK to me. Swap space is fine. Ubuntu uses a swap file now but using a swap partition is no bad thing (I prefer it but I'm very old school).

  3. #3
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,799
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Swap partition for Xubuntu desktop application.

    I don't know about kdenlive. It's video editing software, and as such I expect it to use a lot of memory, but it would depend on what videos you edit with it. For gimp 8GB swap is probably overkill. Unless you edit really big images with many layers, 4GB swap should be sufficient. If it's not, you want to install more ram.

    Other than that, 60GB for root may be a bit much and 500MB for /boot a bit tight. Do you actually need a /boot partition?

  4. #4
    Join Date
    Dec 2009
    Beans
    112

    Re: Swap partition for Xubuntu desktop application.

    thanks for the replay. Well, what size of / may I keep? Suggest me. As to /boot I don't know much about it but in most Linux distro like Slackware, they create /boot partition during installation.
    why we keep it separate " /boot " I don't have its answer. Technically Iif you guide me it will increase my Linux knowledge. Maybe for the dual operating system but in my case, I only have Xubuntu on my hard disk.

    Well 1 GB is sufficient for /boot partition? and if I do not create separate /boot partition what will be the drawback?

    Example

    Code:
    /swap  8 GB
    /root   40 GB
    /home (rest of the space)

  5. #5
    Join Date
    May 2010
    Beans
    1,255

    Re: Swap partition for Xubuntu desktop application.

    Quote Originally Posted by gardenair View Post
    Well 1 GB is sufficient for /boot partition? and if I do not create separate /boot partition what will be the drawback?
    Nothing, /boot will just be part of your root partition rather than on it's own partition.

  6. #6
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    704
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Swap partition for Xubuntu desktop application.

    The listing looks a bit odd.

    Could you poat the output of lsblk, please?

  7. #7
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Swap partition for Xubuntu desktop application.

    Although I am not necessarily suggesting you go this far down in root partition size, I have never had more then 20G for root, and normally use no more than 60% of that; at this moment I am using 11.5G of my 20G root partition in this laptop, and on my desktop machine, also Xubuntu-20.04, it uses 12.1G.

    I am not a gamer so that may make some difference as they generally utilise a lot of disk space, but I do use Emby Mediaserver on the desktop, which can use a lot of space for its database of media files and I also occasionally edit video with openshot, not kdenlive, though as I understand it they are fairly similar.

    I agree with other posters here than a separate /boot partition is not needed, and in fact,it can quickly complicate matters in certain situations, so my advice is to forget about that and stick to separate partitions for root, home, and if you feel you need it due to the applications that you use being big RAM users, a swap partition of up to 8G. I assume you are aware that the most recent Ubuntu versions (of all DES) now all use a swap file of just 1G, created automatically at installation. For many users that is plenty in these days of large RAM amounts in many machines.

  8. #8
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    704
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: Swap partition for Xubuntu desktop application.

    @ajgreeny:

    I'm almost 100% with you. I used to have 20 GB for / but after installing CAD programs (eg, KiCAD), I've found that 30 GB is more to the point. The libraries take up a lot of space and can not be moved easily (an upgrade kills the move).
    /home on a separate partition? Yes, of course. It makes upgrading or reinstallation so much simpler.

    Concerning swap: in my opinion, you only really need it if you need hibernate, and in that case only a swap partition works. I've never been able to get hibernate to work with a swap file, regardless of size.

    SO-DIMM 667 MHz RAM costs around 5...6 Euro/GB today.

    This is my very simple laptop partitioning (I need hibernate):
    Code:
    me@me-pc:~$ lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda      8:0    0 223,6G  0 disk 
    ├─sda1   8:1    0  29,3G  0 part /
    ├─sda2   8:2    0 188,3G  0 part /home
    └─sda3   8:3    0     6G  0 part [SWAP]
    sr0     11:0    1  1024M  0 rom

  9. #9
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Swap partition for Xubuntu desktop application.

    Please remember that if you ever need to re-install Ubuntu do not format the /home partition. You will lose all your data files. You could have a /home 30 - 50 GB and the remainder of the disc as a Data partition. Save all your work to the Data partition then you can re-install Ubuntu into the root partition and the home partition without messing up your data files on the Data partition.

    And as you have noticed there are different opinions Difference is not wrong only Different.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  10. #10
    Join Date
    Dec 2009
    Beans
    112

    Re: Swap partition for Xubuntu desktop application.

    Thanks for the replies. Well I shall reinstall my xubuntu on my test machine. Following is the output of lsblk command

    Code:
    test@test-Latitude-E6430:~/Desktop$ sudo lsblk
    NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    loop0    7:0    0  55.4M  1 loop /snap/core18/1932
    loop1    7:1    0  97.9M  1 loop /snap/core/10444
    loop2    7:2    0 217.9M  1 loop /snap/gnome-3-34-1804/60
    loop3    7:3    0   2.2M  1 loop /snap/gnome-system-monitor/148
    loop4    7:4    0 290.6M  1 loop /snap/kde-frameworks-5-qt-5-14-core18/4
    loop5    7:5    0  87.8M  1 loop /snap/kdenlive/24
    loop6    7:6    0  64.8M  1 loop /snap/gtk-common-themes/1514
    loop7    7:7    0 175.8M  1 loop /snap/skype/160
    loop8    7:8    0  31.1M  1 loop /snap/snapd/10492
    sda      8:0    0 298.1G  0 disk 
    ├─sda1   8:1    0   476M  0 part /boot
    ├─sda2   8:2    0   7.5G  0 part [SWAP]
    ├─sda3   8:3    0 111.8G  0 part /
    └─sda4   8:4    0 178.4G  0 part /home
    sr0     11:0    1  1024M  0 rom  
    test@test-Latitude-E6430:~/Desktop$

    There is a new thing for me which start from loop0 to loop8 what these are ? The hard disk is sda and i create 4 primary partitions.

    Well for video editing what is your experience with Emby Media Server ?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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