News for hackers. Stuff that matters.
Re:Linux ate my RAM by free652 on Monday November 11, 2013 @07:46AM (#6711304)
Windows loves to cache and "prefetch" apps, I still need to figure out how to disable prefetching since I have a very fast SSD.
Re:Linux ate my RAM by stephencanon on Monday November 11, 2013 @08:18AM (#6711409)
Memory is still an order of magnitude faster than your “very fast SSD”.
Re:Linux ate my RAM by dingaling on Monday November 11, 2013 @09:11AM (#6711638)
And memory is still an order of magnitude more expensive than SSD, per GB.

I just bought 4 GB of PC-6400 for a laptop at £40. A fast 128GB SSD is £100.

Summary: use RAM judiciously

Re:Linux ate my RAM by stephencanon on Monday November 11, 2013 @09:40AM (#6711780)
All the more reason for your OS to use memory aggressively. Surely you don't want your expensive investment sitting around just doing nothing?

Unused memory is wasted memory.

Re:Linux ate my RAM by sp332 on Monday November 11, 2013 @09:20AM (#6711674)
The prefetched data is managed by the OS. If a program needs the RAM, the prefetched data is immediately discarded. Prefetching never creates RAM pressure.
Re:Linux ate my RAM by voidlogic on Monday November 11, 2013 @10:17AM (#6711978)
This. It blows my mind how many people who write software don't understand how OS caching and virtual memory work. They are great filter interview questions ;)
Re:Linux ate my RAM by alcuadrado on Monday November 11, 2013 @08:35AM (#6711473)
just one?
Re:Linux ate my RAM by stephencanon on Monday November 11, 2013 @08:53AM (#6711543)
At least one. Potentially more. The actual multiple depends strongly on the specific SSD and memory configurations in question, and on the benchmark of interest.
Re:Linux ate my RAM by sp332 on Monday November 11, 2013 @07:52AM (#6711326)
Instructions for Win7. http://www.tomshardware.com/reviews/ssd-performance-tweak,29... Why not leave it on, though? RAM is still faster than SSD.
Re:Linux ate my RAM by csmuk on Monday November 11, 2013 @07:51AM (#6711322)
Why? All it does is make it go faster.
Re:Linux ate my RAM by TBastiani on Monday November 11, 2013 @08:25AM (#6711434)
And drain your battery for no reason.
Re:Linux ate my RAM by hansbogert on Monday November 11, 2013 @09:02AM (#6711584)
Do you have any proof of that? "Free" memory uses as much energy as "used" memory, there is no distinction in SD|DDR-RAM. And if the OS is smart, it only has to keep a simple index of memory pages still relevant. I'd argue that this has a measurable battery-hit.
Re:Linux ate my RAM by runako on Monday November 11, 2013 @09:33AM (#6711736)
You're only accounting for the RAM power. Accessing the SSD costs power, too.
Re:Linux ate my RAM by tedunangst on Monday November 11, 2013 @09:57AM (#6711872)
Then I think I'd rather Windows prefetched my programs while I'm plugged in so it doesn't have to do so when I'm on battery.
Re:Linux ate my RAM by tanzam75 on Monday November 11, 2013 @11:29AM (#6712355)
> You're only accounting for the RAM power. Accessing the SSD costs power, too.

A typical modern SSD reads at 500 MiB/s, consumes 3 watts when reading, and 0.3 watts when idle.

A stick of DDR3 RAM consumes about 3 watts, just sitting idle.

The power consumption from prefetching is minor compared to that of the RAM.

Re:Linux ate my RAM by jeltz on Monday November 11, 2013 @09:28AM (#6711715)
Reading from the SSD to laod it into RAM does drain battery. No idea if it is enough to matter though.
Re:Linux ate my RAM by rnnr on Monday November 11, 2013 @10:10AM (#6711942)
Windows7 are SSD aware. You dont have to do anything about it.