[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Swap
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 50
Thread images: 5
File: swapon1.png (3 KB, 325x44) Image search: [Google]
swapon1.png
3 KB, 325x44
How much swap space do you have?
>>
>>54386109
8gb
>>
>>54386109
Debian user here.
Never used more than 2GB of swap in two years.

The rule saying you should have twice as much swap as RAM is silly nowadays.
4GB max.
>>
I don't need swap because I have 16 GB RAM.
>>
>>54386109
0GB.

I'm not a poorfag who can't afford real memory
>>
>>54386140
That doesn't make any sense.
>>
>>54386150
real memory is always faster than swap

swap is using the hard drive as memory which is cheaper,sure, but also much much slower. like, orders of magnitude slower

just buy more RAM, anon.
>>
>>54386192
Linux kernel loves to fill up memory with cache so its still best to keep at least a little bit of swap as a buffer.
>>
>>54386132
>what is suspend to disk
>>
I got 32 gig of RAM
>>
>>54386212
I don't use it and I don't think a large percentage of ilnux users use it at all...

But still your point is valid.
>>
>>54386212
hiberfile.sys and pagefile.sys are separate;
hiberfile doesn't base its size on your virtual memory setting (IIRC it can't be changed at all manually)
>>
>>54386192
I know all that. But this anon >>54386140 said 0GB. And that still doesn't make any sense.

If he has 0GB of swap then he's a richfag who CAN affort a large amount of RAM.
>>
>>54386234
>hiberfile.sys
>linux
yeah right...
>>
>>54386140
this
my ram usage on linux has never even once come close to 8gb
>>
>>54386206
That's not how it works
>>
>Current Year
>Swapping
>>
>>54386109
disabled page file. have 16gb of ram so i dont really need it and its not good for SSD.
>>
i have 12 GB ram on my thinkpad i put 8gb swap. mistake or not. I don't know or care. I don't need a swap. I just got a warning lol

swap is like 2gb ram shit
>>
>>54386234
It actually can be changed, between 50% and 100% of your system memory, IIRC.
I believe it's via the powercfg command, but I'm too lazy to google it or get on a windows machine to test it.
>>
Who needs swap when you've got 8 whole gigs of RAM
>>
On a thinkpad with 16GB of ram you can run windows xp and windows 7 inside ubuntu 16.04 and still not have to swap with firefox and a bunch of other shit open.
>>
>>54386109
same as RAM , just a standard in case you need to hibernate with the RAM at full capacity
>really never get which is hibernate or sleep or suspend so inb4
>>
I put a 7.2k hdd in my ultrabay and just use the whole thing as swap
it's slow but it prevents shit from locking up if I exceed 4gb
>>
>>54386109

i have physical swap, its called ram
>>
so this thread turned into people talking about how much RAM they have.

>he has more than 8GB of ram in 2016
>>
>>54386757
of course it did
wouldn't expect anything else from /g/: midnight on a weekday edition
>>
File: btrfs_scrub.png (45 KB, 887x421) Image search: [Google]
btrfs_scrub.png
45 KB, 887x421
>>54386109
666 MB
>>
>>54388906
I should add I set my swapiness to 1 because its on a usb and I dont want it to use swap if it can avoid it.
>>
>>54386140
You still should have some swap for legacy applications.
>>
>>54388906
>btrfs
>>
>>54386232
I use swap = 2*RAM. I have 4G ram and 8G swap. Disk space is so cheap and plentiful today that I don't even notice the 8G 'missing'.

In fact, I always have dozens of GB free at all times because I keep all my movies and large files on an external 1TB drive.
>>
I had not bothered setting up a swap partition in years, because I never figured I would make use of it.
Then again, I might as well right?
Especially on Linux you have so much extra space left on the disk I even go ham and give /boot a whopping 256MB, so why not give swap its fair 4-8GB when I've got the space left over?
>>
>>54388906
>4 cores
>over 6 average load

git gud
>>
>>54386109
umm... I'm not sure OP. Do I have enough ram? I think my computer is feeling a little slow.
>>
none, and i only have 8gig of ram
>>
>>54386140
>>54386192
swap is always necessary, your system isn't going to depend 100% on the ram.
>>
>>54388982
This, except I have 6 gigs RAM ( and 12 GB of Swap). Even with the 12 GB of swap and 150 GB dedicated to Windows 7, I still have at least 800 GB of space on my hard drive, not to mention 2.5 Terabytes of external HDD storage space.
>>
>>54386133
>he fell for the 16 G(i)B meme
>>
>>54389271
I have 24GB of RAM and I don't recall experiencing the need for swap

I've only used it on a machine that has ~700MB of RAM along with the RPi2.
>>
>>54389019
this is a lovely picture
>>
>>54389019

>36 cores
>39 load

need more cores mang
>>
>>54386192

Ha! Joke's on you because I use a RAMDRIVE for my swap!!
>>
>>54386109
>>
>>54389015
>>4 cores
>>over 6 average load
>git gud
I'm not that anon but it doesn't make sense to adjust your CPUs based on a single intensive task of its not affecting overall system performance.

If he sits at .30 load most of the day and his scrubs push him to 6.0 for an hour once a month, he's fine. If it sits at 6.0 most of the day then he needs to rethink his CPU layout.
>>
>>54390369
>>he fell for the 16 G(i)B meme
>He doesn't prototype VMs, do database work or anything other than browse the web.
>Visits g

Lulz. I didn't realize we allowed regular users here.
>>
>>54390428
>>36 cores
>>39 load
>need more cores mang

He might be doing something like hadoop where there will always be more work than the processor can handle by design.
>>
>>54390679
>He might be doing something like hadoop where there will always be more work than the processor can handle by design.

What
How can a program always be creating more work than the processsors can handle by "design" ? Does Hadoop scale that far beyond ?
>>
File: a.png (3 KB, 558x16) Image search: [Google]
a.png
3 KB, 558x16
>>
>>54386140
1GB, I'm a prepper with real memory. (Why the hell is it even real? I mean... Memory is something that stores stuff and RAM is quite bad at that (try turning off your power for a minute, I'm putting my money on the SSD being the 'real' memory here))
Thread replies: 50
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.