Hi, I have read
  http://code.google.com/p/compcache/wiki/StatsExplained
and I can see why OrigDataSize could be larger than the figure
reported in /proc/swaps. However I am getting the reverse and I don't
know why I would have a smaller OrigDataSize than the figure reported
in /proc/swaps.

>From gpl2mem_150 (Attached):

--

Filename                                Type            Size    Used    Priority
/dev/ramzswap0                          partition       376116  376084  100
/dev/sdb1                               partition       2096440 54344   -1

DiskSize:         376120 kB
NumReads:           1296
NumWrites:         94343
FailedReads:           0
FailedWrites:          0
InvalidIO:             0
NotifyFree:            0
PagesDiscard:          0
ZeroPages:         69734
GoodCompress:         76 %
NoCompress:            1 %
PagesStored:       24295
PagesUsed:          8658
OrigDataSize:      97180 kB
ComprDataSize:     33636 kB
MemUsedTotal:      34632 kB

--

FYI, this was generated from running rand2mem_loop.sh from
rand2mem_20091107, which in this case filled memory with multiple
copies of the GPL-2 license.
www.ucc.asn.au/~mccabedj/rand2mem_20091107.tar.gz
www.ucc.asn.au/~mccabedj/rand2mem_latest.tar.gz

-- 
John C. McCabe-Dansted

Attachment: gpl2mem_150
Description: Binary data

_______________________________________________
linux-mm-cc mailing list
[email protected]
http://lists.laptop.org/listinfo/linux-mm-cc

Reply via email to