I am just wondering why KDE never uses my swap. On the KsysGuard, It reports that I have a GB of swap that is never used. I have 2GB of ram. This is only an issue because VMware will take up half of my computers resources for itself if, in the event, it needs to use it. How do I change this so my swap is being used. I have: Kubuntu 8.04LTS
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
I did something wrong while setting up my swapspace so now my main HDD is linux-swap I am dual booting windows and ubuntu, but now I can't boot into windows nor acces the partition because it is swap now.
My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?
I recently enlarged my Root and Home partitions and in the process was left with 1.69 GB of unallocated space next to Swap(see image). Not quite sure how it happened this way but for some reason I was unable to grab all the unallocated space available when enlarging either Home or Root. What I am wondering is there any reason why I couldn't enlarge Swap and thereby use up that unused 1.69 GB? Would there be any minor advantage to this? Also if I did this would it simply be a matter of booting from Live Disc and running GParted with Swap off and grabbing that space?
what exactly are my 'swap 3.1gb' and 'extended 3.1gb' partitions for? are they necessary? what would happen if i deleted them? do they have to be that big (thinking about loading ubuntu to 20gb HDD partition, but at 6gb for the other stuff, #ouch#)? What does ubuntu do about very low space when installing (i.e. in reference to the 20gb part)? why does ubuntu have these but no other Operating Systems do? Would i lose any performance without them?
I am getting a new SSD for my laptop and I have been researching the different tweaks for an SSD. I still have a question regarding the swap partition: is it better to not have one for an SSD? (I have 4GB of RAM...)
If I don't, how would I specify it during the installation process for 10.04?
I have 1GB ram and 2GB swap space. It seems that linux programs somehow are aware that there are 3GB ram avaialable and pretty fast uses more than 2.5GB. System becomes unresponsive because of excessive swapping. On the other hand if I disable swap, using the same programs (chrome, vlc, openoffice) I get only ~600MB use while watching videos and browsing net.
I know, that linux uses all available ram to enhance performance, but in my case, it really hurts the performance. I also cannot leave the swap off, because I sometimes want to do some 3d editing, and then the memory usage can exeed 1GB.
So basicly my question is, if it is possible to force swap usage only when really needed, and make it so, that swap is not considered free ram and filled up with useless junk. (For example, if swap is enabled VLC player just loads whole movie into swap! - which of course is useless, because movie is located on the same hard drive, but VLC is not the only offender)
When i first installed ubuntu about 2 weeks i left about 30gb left for windows vista. I have not used vista at all so i decided to delete it and use the whole hard drive for ubuntu. I got the liveCD out and went into the partition editor on that (i had ubuntu,swap,vista in that order) and deleted the swap space and vista and increased the size of the Ubuntu partition to so there was only 4gb left for swap. I then booted up again from the hard drive and i get this message "one or mounts cannot be mounted" or something to that effect and it talks about the swap partition and offers to boot in recovery mode which does work.Once in recovery mode i go in and try and make swap partition with Disk Utility and i do that and it works. I go to restart Ubuntu to test it out and the same problem happens again, cannot mount swap ect. so i go back into Disk Utility and it now says 4gb Unrecognized instead of swap
I want to remove my swap partition. Probably one I would have to boot into a rescue cd and remove it, but aside from that is there any other consideration or commands that I need to be aware of?
I recently installed Ubuntu Server, the 8.04LTS release, on my dad's computer which, for the time being, has to dual-act as both a server and a desktop. Will be running solely as a server pretty soon, though. Anyway - since I was down on the budget and the project I put up the server for is still in a development phase and not worth to invest serious money in (at this stage), it has to run on a computer with the following hardware configuration (I left out the non-important parts):
It has 80 or so GBs of disk space, so I went for the low-mem, high-disk scenario and created a swap partition of 1,5 GB. However, I can notice that is rarely even used! I have set the vm.swappiness parameter to 95 but my swap partition is still not being used, even when the memory usage goes up to 90%. I saw it being used once, but only when the needed memory size exceeded 500.
Does anybody know how to force Ubuntu Server to use the swap partition?
Have a laptop with Ubuntu 10.4 and a dual boot desktop with Ubuntu 9.10 and 10.4. Using wifi on laptop. Before upgrading to 10.4 the desktop was the server and the laptop the client. Unfortunately when I setup ssh in 10.4 on the desktop I made it the client instead of the server. Reinstalled 10.4 on the desktop but it still remains the client. Booting the desktop into 9.10 the laptop is the client and the desktop is the server. How can I change Ubuntu 10.4 on the desktop to be a server?
I read an article earlier that suggested the swap partition is encrypted by default if you select an encrypted /home folder during installation, is that true (for Lucid)? I am suspecting it isn't because my hibernation works, which I believe shouldn't be the case?
Is there any way to set up my system so that, just before I run out of RAM, and SWAP is utilized, I can get a warning message so that I can kill the memory hog before my computer slows to a crawl?I'm a programmer, and it's happened a few times that my programs have memory leaks and run over into SWAP and effectively freeze my system.
I'm having problems using a swap file to increase swap space in Linux. I followed the instructions for creating a swap file, as shown here:
[URL]
It works, and I increased my swap space. But when I reboot, I'm back to the original amount of swap space I had before. The swap file I created is still there, but it's not being used as swap space. I tried remounting the swap file but it doesn't work.
Also, it seems there isn't an fstab entry created for the swap file. Strange, huh? I don't think it made a difference but I manually copied the UUID for the swap file and made an entry in fstab.
I may be wrong, but from what I can tell the UUID of the swap file keeps changing every time I reboot.
So basically every time I reboot I have to repeat the instructions shown above to get more swap space.
Title is self-explanatory. I turn on swap, restart, and it's off again. Ubuntu 10.10 64-bit. I tri-boot with Win7 (32-bit) and LMDE (32-bit) if it matters.
I got a few Ubuntu versions on different partitions and a few 10G swap spaces on my 1TB disc. Is it possible to delete some of these swap spaces and just keep one? Will any of them do the job for all Ubuntu versions?
10.10 x64> Trying to hibernate my notebook using a swap file i get "swap header not found". Is hibernation incompatible with a swap file? or is something else going on here? why would hibernation be incompatible with a swap file?
I attached a picture showing a 2.7GB swap partition in the program named Disk Utility. Also in the pic on the upper right is the program htop running and you see Swap is showing up as "Swp[ 0/0MB]". And in the middle right is Sytem Monitor showing no swap space being used and that the swap space size is 0 bytes. This all happened after resizing the partitions using gparted. I resized all the partitions. Part of what I did was increase the size of the swap partition from 512MB to 2.7GB. But, as you can see, after rebooting the system no longer is using the swap space. And it seems, according to the pic of System Monitor that there is no swap space. Is there a way to fix this so Ubuntu will use the swap space?
How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.
I have a live/persistent installs of Lubuntu 10.04 on a USB-HDD. It's on a 320 GB portable drive. I've partitioned it so that 80 GB is for the Lubuntu live install and the remaining 240 GB is another partition dedicated to storing stuff. So this USB-HDD is doing double duty. The thing is, I was paying so much attention to making the persistent install work without making a mess of the boot loader (I did that in the past; twice!) that I had overlooked the fact my live install does not have a swap sartition on it. I just assumed (incorrectly) that the swap partition on would just be part and parcel of the installation. Can anyone tell me of a way to add a swap partition to each of my live installs? Without losing any data or anything like that. It's probably not doing any harm not having a swap partition, but I'm assuming that my live install would be that much more efficient with it.