Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: write hash to disk after memory limit

by FloydATC (Deacon)
on Mar 14, 2015 at 07:02 UTC ( [id://1120031]=note: print w/replies, xml ) Need Help??


in reply to Re^2: write hash to disk after memory limit
in thread write hash to disk after memory limit

And when his laboratory gets expanded to output 170GB he's supposed to run and buy 10 times more RAM?

Like I said, if the data set was 10 times bigger...

I don't disagree with any of what you say, it's just that having a working data set of 17 GB that simply isn't suitable for anything else than keeping it all in RAM is not unheard of in this day and age.

Assuming for a moment that this isn't a problem that needs to scale for an entire datacenter, and we're not talking about reprogramming a deep space probe launched 20 years ago can also help with reducing the need for throwing man hours on the problem.

If it turns out that in this particular case the data set wasn't really 17 GB after all but only expanded to this size as it was read into memory, that's great :-)

I was merely trying to illustrate why replacing OS swapping with home baked swapping would probably not be worth the effort.

-- FloydATC

Time flies when you don't know what you're doing

  • Comment on Re^3: write hash to disk after memory limit

Replies are listed 'Best First'.
Re^4: write hash to disk after memory limit
by LanX (Saint) on Mar 14, 2015 at 10:54 UTC
    Well yes you are right - somehow...

    ... let me try to explain:

    For me it's obvious that this is a XY Problem.

    So it's like the advice to take a taxi if there's no more fuel in the tank - which is of course reasonable!

    But I have the feeling the driver keeps the motor running over night, so taking a taxi wouldn't solve his real problem.

    Anyway we most likely will never fully know the real problem ... :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)

    PS: Je suis Charlie!

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1120031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found