#Swap or swapfile

52 messages · Page 1 of 1 (latest)

harsh valve
#

alright

#

im not gonna give a review as to which is better because it's an opinion

#

there's multiple factors

#

you need to learn computers my friend

#

you can't just... ask that lol

#

dont expect the correct answer

#

you'll eventually run out of ram at some point i imagine

#

but 24 gb is a lot

#

i do it in case i need it

deep belfry
#

You have 24gb RAM rigbt?

harsh valve
#

it's basically a place for what was in RAM usage

#

and its a palce to put it

deep belfry
#

Do you need them all?

harsh valve
#

place*

deep belfry
#

What are you doing on your pc that you need so much ram

harsh valve
#

i have 32

deep belfry
#

Oh yeah

harsh valve
#

but i do things that require it to hit that number

#

or come close

#

well then you'll need swap with a VM, which kind?

#

qemu or virtualbox/vmware?

#

ah.

deep belfry
#

You could probably get a Swap File

harsh valve
#

qemu is better

deep belfry
harsh valve
#

just make the stupid thing

#

read documentation please

#

it tells you exactly hwo to do it

#

erm

deep belfry
#

sudo touch /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=8000 status=progress
sudo mkswap /swapfile
I think

#

For 8gb

harsh valve
#

To check swap status, use:

$ swapon --show
Or to show physical memory as well as swap usage:

$ free -h
Swap partition
A swap partition can be created with most GNU/Linux partitioning tools. Swap partitions are designated as type 82 on MBR and 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F on GPT.

To set up a partition as Linux swap area, the mkswap(8) command is used. For example:

mkswap /dev/sdxy

#

there's more

#

no

#

both wrong

#

24576

#

you can do that much

#

that's a lot

#

but thats 24GB

#

the real 24GB

#

not x 1000

#

x 1024.

#

just read

#

please.

#

its easy

#

alright

deep belfry
harsh valve
#

yes

#

i know.

#

dont give me a lecture

#

i prefer GiB