|
2011-11-27
, 21:27
|
|
Posts: 168 |
Thanked: 206 times |
Joined on Apr 2010
@ Finland
|
#162
|
It never crashes for me, are you using power of 2 sizes for disksize_kb?
EDIT: I should add that I use my own kernel build, but it is currently derived from kp49 and parts of bfs. I can make it available if anyone so wants.
The Following 2 Users Say Thank You to Gusse For This Useful Post: | ||
|
2011-11-27
, 22:32
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#163
|
rzscontrol /dev/ramzswap0 --stats DiskSize: 131072 kB NumReads: 0 NumWrites: 0 FailedReads: 0 FailedWrites: 0 InvalidIO: 0 NotifyFree: 0 ZeroPages: 0 GoodCompress: 0 % NoCompress: 0 % PagesStored: 0 PagesUsed: 0 OrigDataSize: 0 kB ComprDataSize: 0 kB MemUsedTotal: 0 kB
cat /proc/swaps Filename Type Size Used Priority /dev/mmcblk0p3 partition 786424 0 -2 /dev/ramzswap0 partition 131064 79060 -1
free total used free shared buffers Mem: 235260 206888 28372 0 76 -/+ buffers: 206812 28448 Swap: 917488 133856 783632
The Following 5 Users Say Thank You to vi_ For This Useful Post: | ||
|
2011-11-28
, 15:05
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#164
|
Nokia-N900:~# cat compcache.sh swapoff /dev/mmcblk1p2 insmod /lib/modules/current/ramzswap.ko disksize_kb=65536 swapon /dev/ramzswap0 swapon /dev/mmcblk1p2 Nokia-N900:~#
nohup /root/compcache.sh &
|
2011-11-28
, 15:11
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#165
|
Can anyone explain why my compcache stats say 0 for everything? Also, why must my disksize be of the order ^2 when before it was not important?
The Following 3 Users Say Thank You to gregoranderson For This Useful Post: | ||
|
2011-11-28
, 15:15
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#166
|
|
2011-11-28
, 15:32
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#167
|
@gregoranderson,
Why the "nohup ... &". Your compcache.sh script does its thing and exits, no need to continue running or anything.
The Following 4 Users Say Thank You to gregoranderson For This Useful Post: | ||
|
2011-11-28
, 15:51
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#168
|
The Following 3 Users Say Thank You to vi_ For This Useful Post: | ||
|
2011-11-28
, 15:59
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#169
|
What are your changes compared to KP49? Also if you are willing to make available your version (and maybe patches), that would be nice.
Reason for asking this, is that now I have instant reboots with KP49 when applying insmod-command. Doesn't matter what size I use (tried several values and aways the same), neither reverting other recent changes made any difference (DSP freq, SR).
Earlier with KP48, I managed to use several different disksize's without problems, meaning without problems with insmod part. Of cource large swaps made device eventually very slow and useless.
EDIT: This post seems to be valid also for eMMC (mmcblk0p3).
@ gregoranderson: Thanks for your trials!
The Following 5 Users Say Thank You to maacruz For This Useful Post: | ||
|
2011-11-28
, 16:03
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#170
|
Also, why must my disksize be of the order ^2 when before it was not important?
The Following User Says Thank You to maacruz For This Useful Post: | ||
I was not using a disksize ^2.
All works great, no babies shall be stabbed this time.