memory compress tech...
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Martin Dalecki
Quoted 3 lines · Ignacio Vazquez-Abrams
I think he said it best. There may be uses for memory-compression technology, but does that make the slow-down worthwhile?
Please read the corresponding research papers by IBM on this topic. It's all NOT ABOUT RAM size. It is all bout BUS BADWIDTH! At least if you do it properly - namely in hardware... ;-)
maybe for compressing swap? you have to read less data off the disk, which is faster. and the processor is probably idling anyway, waiting on disk.
--
"The brave men who died in Vietnam, more than 100% of which were black, were the ultimate sacrifice."
- M. Barry, Mayor of Washington, DC
Quoted 3 lines · Ted Unangst
maybe for compressing swap? you have to read less data off the disk, which is faster. and the processor is probably idling anyway, waiting on disk.
Ah, now THAT is a good idea.
Compressing groups of pages, probably 16k at a time, and storing them on 20k boundaries will result in a loss of swap space but a probable increase in speed. And the boundary alignment will probably simplify bookkeeping. You shouldn't be using swap anyways, so a 20% loss probably isn't a huge deal.
Maybe someone with a little more experience in the area of swap management under Linux should take over the discussion from here...
Signature · 1 line
Ignacio Vazquez-Abrams <[email protected]>
Quoted 4 lines · Ignacio Vazquez-Abrams
Quoted 3 lines
maybe for compressing swap? you have to read less data off the disk, which is faster. and the processor is probably idling anyway, waiting on disk.
Ah, now THAT is a good idea.
I missed the beginning of this thread, but this sounds to me like what is being implemented at http://linuxcompressed.sourceforge.net/
regards,
Dave.
Signature · 2 lines
| Dave Jones. http://www.suse.de/~davej | SuSE Labs
Quoted 5 lines · Dave Jones
Quoted 3 lines · Ignacio Vazquez-Abrams
Quoted 3 lines
maybe for compressing swap? you have to read less data off the disk, which is faster. and the processor is probably idling anyway, waiting on disk.
Quoted 8 lines
Quoted 1 line
Ah, now THAT is a good idea.
I missed the beginning of this thread, but this sounds to me like what is being implemented at http://linuxcompressed.sourceforge.net/
regards,
Dave.
The original message talked about duplicating QEMM's MagnaRAM (a RAM compression utility) under Linux, which seems to be part of what the page at the URL describes. They say that they're not aiming for performance right now, and I can believe that (their numbers are quite iffy).
They also do go over compressed swap, and after looking at point IV in section 4 of their design considerations, they seem to be headed in the right direction.
I think maybe I'll go help...
Signature · 1 line
Ignacio Vazquez-Abrams <[email protected]>