Linux caches disk accesses to RAM. The OP asks about caching disk accesses to SSD. SSDs are much more expensive than magnetic disk, but in turn RAM is much more expensive than SSDs. So at a fixed price point you could cache a great deal more of your HD w/ SSD than w/ RAM.
Plus, RAM is wiped on reboot. With an SSD cache in front of your HD, you would benefit from the SSD performance, say, on your next reboot - something a cache in RAM could not offer. Or perhaps you launch Gimp several times a day: it would be nice to see it fire up 100x faster!
Now digesting the real paper at http://www.ece.ncsu.edu/arpers/Papers/MMT_IPDPS10.pdf, they do do a trick of making free() asynchronous to avoid blocking there, but they also do a kind of client-server thing, with a nontrivial but fast and dumb malloc client in the main thread.
Not bad. They really tried a lot of different stuff, thought some stuff out carefully. This reviewer approves!
But as it is true that a program which calls malloc() is basically blocked until malloc() returns, the trick here could be that malloc() is made to be a lot dumber... but free() just puts pointers in a queue "to the other thread" and then the other thread can be more time consuming about being smart with making that space available to malloc() again.
OK I'm expressing it badly. Obviously an app which needs memory is blocked until it gets the memory. But the same isn't true of releasing memory: you don't *need* your free()ed blocks to be immediately available. So maybe that's what they do: backload the joint malloc()+free() work into free(), make malloc() really dumb, and shift the free() work off to the other thread via a simple queue.
Heat pumps can be this efficient when you consider the claim is they can move five times as much (heat) energy as they consume (in electicity or other organized source). They are not claiming to generate more than they consume: only pump more than they consume - though vague and sensationalist phrasing in the journalism makes this unclear in the OP.
There's lots of flavors of right and left, of course, but I would suggest that socialists would be excited about the "free as in beer", where libertarians would go for "free as in speech".
So to my mind that explains why right-wingers might be using free software. I can't for the life of me imagine why lefties would be so keen on either MS or Mac. Some of the affluence arguments, above, sound plausible.
Logic-defying rhetoric is always destrutive
on
Pr0n's Effect On Society
·
· Score: 2, Interesting
Most addictions are to do with internal emptiness, wanting to fill up dead space, and addiction is always destructive.
I see this kind of "logic" all the time in casual and not-so-casual public rhetoric. The author cedes that addiction has an underlying cause, but then somehow uses the idea that addiction has an ugly underlying cause to reinforce the idea that we need to fight addiction itself... when it seems to me that the logical conclusion is we need to look closer at that underlying cause.
Addiction is not always (though usually) destructive; but internal emptiness is. Why does addiction get so much prominence when it's not the real issue? Why don't we focus on the idea that "half of 9-19 year olds feel empty inside?"
But what is the point of accelerating an access which happens only rarely?
Linux caches disk accesses to RAM. The OP asks about caching disk accesses to SSD. SSDs are much more expensive than magnetic disk, but in turn RAM is much more expensive than SSDs. So at a fixed price point you could cache a great deal more of your HD w/ SSD than w/ RAM.
Plus, RAM is wiped on reboot. With an SSD cache in front of your HD, you would benefit from the SSD performance, say, on your next reboot - something a cache in RAM could not offer. Or perhaps you launch Gimp several times a day: it would be nice to see it fire up 100x faster!
Now digesting the real paper at http://www.ece.ncsu.edu/arpers/Papers/MMT_IPDPS10.pdf, they do do a trick of making free() asynchronous to avoid blocking there, but they also do a kind of client-server thing, with a nontrivial but fast and dumb malloc client in the main thread.
Not bad. They really tried a lot of different stuff, thought some stuff out carefully. This reviewer approves!
Haven't ready the OP: shame on me.
But as it is true that a program which calls malloc() is basically blocked until malloc() returns, the trick here could be that malloc() is made to be a lot dumber... but free() just puts pointers in a queue "to the other thread" and then the other thread can be more time consuming about being smart with making that space available to malloc() again.
OK I'm expressing it badly. Obviously an app which needs memory is blocked until it gets the memory. But the same isn't true of releasing memory: you don't *need* your free()ed blocks to be immediately available. So maybe that's what they do: backload the joint malloc()+free() work into free(), make malloc() really dumb, and shift the free() work off to the other thread via a simple queue.
Heat pumps can be this efficient when you consider the claim is they can move five times as much (heat) energy as they consume (in electicity or other organized source). They are not claiming to generate more than they consume: only pump more than they consume - though vague and sensationalist phrasing in the journalism makes this unclear in the OP.
2 bad puns. Don't know which you saw - the one on stink or the one on female CS students female garbage collectors. Get it? Ouch.
There's lots of flavors of right and left, of course, but I would suggest that socialists would be excited about the "free as in beer", where libertarians would go for "free as in speech".
So to my mind that explains why right-wingers might be using free software. I can't for the life of me imagine why lefties would be so keen on either MS or Mac. Some of the affluence arguments, above, sound plausible.
Addiction is not always (though usually) destructive; but internal emptiness is. Why does addiction get so much prominence when it's not the real issue? Why don't we focus on the idea that "half of 9-19 year olds feel empty inside?"
Gotta go... running late for therapy :)