Register - Login
Views: 99858280
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 12:24:50 PM
Jul - Computers and Technology - Paging File on RAM Disk - Anyone else ever done this? New poll - New thread - New reply
Next newer thread | Next older thread
Dwedit
Member
Level: 19


Posts: 48/61
EXP: 34970
For next: 807

Since: 08-03-07


Since last post: 112 days
Last activity: 79 days

Posted on 07-24-09 12:36:15 PM Link | Quote
I've once put my paging file on a RAM disk. What ended up happening is that stuff ran much faster. There were times when you could tell it was swapping to the paging file, but the 'grinding' was at least 20 times faster, so it never got sluggish.
The biggest thing I noticed was that there were far more limits to the number of simultaneous programs you could run at a time. You would start to see out of memory error messages.

____________________
Hiryuu

Level: 207


Posts: 12092/14435
EXP: 127636459
For next: 2147695

Since: 07-06-07


Since last post: 11.8 years
Last activity: 11.7 years

Posted on 07-24-09 01:34:32 PM (last edited by Hiryuu at 07-24-09 10:36 AM) Link | Quote
Isn't that kinda redundant though? I thought the purpose of the paging file was to swap memory from the hard drive space allotted when it was out of RAM.

Although, on the positive, I guess that would make sense about it being faster since it's a solid state over an electromagnetic hard drive with spinning platters for access...but still, doesn't that effectively make your paging file 0, just in a different way?

____________________
Bagel

Giant Red Paratroopa
without music life would Bb
Level: 75


Posts: 48/1446
EXP: 3802690
For next: 24214

Since: 03-30-09

Pronouns: he/him
From: bear

Since last post: 191 days
Last activity: 7 days

Posted on 07-24-09 08:50:41 PM Link | Quote
That does kind of defeat the purpose of a paging file, yes. :p

For really high performance though, I could see it being useful if you had a lot of physical RAM. Of course, in that case, you'd just turn off virtual memory entirely to get the same result.

____________________
744 is a site with musics on it
Xkeeper

Level: 263


Posts: 12019/25353
EXP: 297174577
For next: 1785876

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 40 min.

Posted on 07-24-09 08:54:28 PM Link | Quote
Windows is very bad at virtual memory management (RAM usage rarely goes above 60%, even if you set low pagefile sizes) ... If you had a lot of memory, though, you could probably get away with it without many problems.

____________________
Girlydragon
3030
Possibly neither Girly nor Dragon.
Level: 105


Posts: 728/3030
EXP: 12257541
For next: 4719

Since: 07-21-07

From: Sweden

Since last post: 284 days
Last activity: 1 hour

Posted on 07-25-09 08:38:38 AM Link | Quote
Originally posted by supermagicalpenguin
Of course, in that case, you'd just turn off virtual memory entirely to get the same result.


This is what I do on all my computers, combined with programs with small memory footprints.

Helps a lot for overall speed.

____________________

Xkeeper

Level: 263


Posts: 12047/25353
EXP: 297174577
For next: 1785876

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 40 min.

Posted on 07-25-09 10:31:56 AM Link | Quote
That works fine until you need to open a very large file, at which point you can usually kiss your ass goodbye.

The problem is that since everybody dickwaves over "free RAM", all the applications out there are built on maximizing it... instead of minimizing it.

Proper memory management should use up 90~95% of available RAM (dependant on total amount), putting only old things on the pagefile as needed.

That is, admittedly, one of the things I have seen Linux handle much better.

____________________
Dwedit
Member
Level: 19


Posts: 49/61
EXP: 34970
For next: 807

Since: 08-03-07


Since last post: 112 days
Last activity: 79 days

Posted on 07-25-09 11:23:59 AM Link | Quote
Maybe this is just Ubuntu being retarded, but once Linux runs out of RAM and goes into Thrash Mode, you can basically kiss your computer good bye. GUI response takes about 5 whole seconds to update the position of the mouse cursor. No response from SSH connections. Nothing left to do but Alt + SysRq + REISUB.

____________________
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 4179/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 07-25-09 02:40:52 PM Link | Quote
Originally posted by Xkeeper
Proper memory management should use up 90~95% of available RAM (dependant on total amount), putting only old things on the pagefile as needed.

That is, admittedly, one of the things I have seen Linux handle much better.

There's a setting for the Linux kernel that changes how often data is swapped out to disk.

____________________
JOIN #PROG YOU JERKS.
Xkeeper

Level: 263


Posts: 12055/25353
EXP: 297174577
For next: 1785876

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 40 min.

Posted on 07-25-09 07:44:54 PM Link | Quote
That would actually be a fairly interesting project; a simulation that would create "applications" that would allocate certain amounts of memory (a variable) and an overlying script that would determine how much remained in real memory and how much remained in virtual memory... and did a simple count (real memory reads = 0, virtual memory reads = 1).

Obviously it wouldn't be that simple, but would be a fairly easy approximation.

____________________
Next newer thread | Next older thread
Jul - Computers and Technology - Paging File on RAM Disk - Anyone else ever done this? New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 1 query cache hits.
Query execution time: 0.095321 seconds
Script execution time: 0.017140 seconds
Total render time: 0.112461 seconds