Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDD as swap on 64 gig ram system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dimko
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 144

PostPosted: Wed Feb 12, 2020 6:47 pm    Post subject: SDD as swap on 64 gig ram system Reply with quote

Hello Fellow Flightless Birds!
No, not kiwi, and not ostrich.


I am one fat flightless bird who like to tinker with fellow Gentoo.

I got my hands on PC I don't deserve. 64 gigs of RAM, 16 phisical CPU, NVME, and generic SSD.
And I need an advice.

I noticed my RAM utilisation does not go above 30%. So I was thinking about creative utilisation of such amounts of ram.

I am avid computer game and i also play with VM's a lot.(ok, intend to play).

That SSD I mentioned, its quite old, its about 55 gigs. And I frankly no longer care what will happen to it.

With games, I have written a script, that DD all files into /dev/null basically precaching them into ram after game starts. Very a few games I have - have more than 64 gigs of ram.(thats where swap disk made of 55 gigs of ssd can be handy!)

How can I make my overall interaction with my hdd(7tb) faster? I suspect I can increase RAM cache to my HDD?

How can I squeeze some more performance at cost of ram? (I am most concerned with HDD performance)

Would love to hear what other penguinoids did on their machines.

I don't have critical data on this machine, nothing that I write to disk right now is of much importance. I don't mind losing last 10 minutes of my job on this PC.
_________________
Just a user.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44945
Location: 56N 3W

PostPosted: Wed Feb 12, 2020 8:06 pm    Post subject: Reply with quote

dimko,

I would say that 64G RAW is about right now.

I upgraded from 8G to 16G a few years ago because 8G became too small for a 6 core build box.
Now, 16G is too small.

32G would do but with more cores 64G would be a bit more future proof.

Bill Gates wrote:
640K is more memory than anyone will ever need on a computer

OK, that quote is about 40 years old, but I expect that you will grow into the RAM and out of it again :)

I'm not sure that dd does what you think it does. It reads raw blocks, which is not the same as reading files.

You need some thiotimoline to speed up access to your rotating rust HDD. :)
My apologies if you are not an Azimov fan.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dimko
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 144

PostPosted: Wed Feb 12, 2020 8:14 pm    Post subject: Reply with quote

NeddySeagoon wrote:
dimko,

I would say that 64G RAW is about right now.

I upgraded from 8G to 16G a few years ago because 8G became too small for a 6 core build box.
Now, 16G is too small.

32G would do but with more cores 64G would be a bit more future proof.

Bill Gates wrote:
640K is more memory than anyone will ever need on a computer

OK, that quote is about 40 years old, but I expect that you will grow into the RAM and out of it again :)

I'm not sure that dd does what you think it does. It reads raw blocks, which is not the same as reading files.

You need some thiotimoline to speed up access to your rotating rust HDD. :)
My apologies if you are not an Azimov fan.


640k reference was understood.(bill gates)
DD does what i tell it to do.
I did smth like:
ionice -c 3 find ./ -type f -exec dd if='{}' of=/dev/null \;
and all files in game folder are read while/after game is loading up. Since they are read by DD, they are also cached into RAM. problem was only when game was over 32 and 64 gig of ram.

bonus: https://www.youtube.com/watch?v=d85p7JZXNy8
;)
_________________
Just a user.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44945
Location: 56N 3W

PostPosted: Wed Feb 12, 2020 8:29 pm    Post subject: Reply with quote

dimko,

I would add
Code:
bs=1M
to your dd as it will speed it up a lot.

Thank you for that link. I can remember it all.
I still game on a real APPLE ][.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Muso
Veteran
Veteran


Joined: 22 Oct 2002
Posts: 1057
Location: The Holy city of Honolulu

PostPosted: Wed Feb 12, 2020 8:34 pm    Post subject: Reply with quote

NeddySeagoon wrote:
I still game on a real APPLE ][.


Nice! Karateka brings back many fond memories.
_________________
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2020 is the year of the Linux Desktop!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44945
Location: 56N 3W

PostPosted: Wed Feb 12, 2020 8:48 pm    Post subject: Reply with quote

Muso,

I have that one. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum