Hi <br><br>I am sorry for the typo <br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span style="color: rgb(204, 0, 0);">Bonnie -d 32 /mnt -s 50 &amp; sync # Bonnie process hangs</span></blockquote>
<div><br><span style="color: rgb(204, 0, 0);">Bonnie -d /mnt -s 50 &amp; sync # Bonnie process hangs<br></span> <br>Sincere Regards<br>Vijayendra Suman<br></div><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 12:08 PM, Vijayendra Suman <span dir="ltr">&lt;<a href="mailto:vijayendra.suman@gmail.com">vijayendra.suman@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi John, Nitin,<br><br>I think i have not explained well about the method for the hang.<br><br>
1) insmod xvmalloc.ko; # I use 0.5.3 version<br>2) insmod lzo-faster.ko; # I use a modified form of compressor, this helps me to boot my application faster.<br>
We can try this same by inserting compressor and decompressor modules which is given in the compcache release. <br>3) insmod compcache.ko;<br><ul><li> State 1</li></ul><div style="margin-left: 40px;">mkfs.ext3 /dev/ramzswap0<br>

mount -t ext3 /dev/ramzswap0 /mnt;<br>Bonnie -d 32 /mnt -s 50 &amp; sync # works well no problem<br></div><ul><li>State 2</li></ul><div style="margin-left: 40px;">mkfs.vfat /dev/ramzswap0<br>mount /dev/ramzswap0 /mnt;<br>

<span style="color: rgb(204, 0, 0);">Bonnie -d 32 /mnt -s 50 &amp; sync # Bonnie process hangs</span><br><br>If a application hangs it is a problem; which needs to be checked why this happens.<br></div><ul><li>State 3 # Boot Kernel 2.6.30; <br>

</li></ul><div style="margin-left: 40px;">mkfs.vfat /dev/ramzswap0<br>
mount /dev/ramzswap0 /mnt;<br>
Bonnie -d 32 /mnt -s 50 &amp; sync # works well no problem</div><br>I will try to find the issue and let you know<br><br>Sincere Regards<br><font color="#888888">Vijayendra Suman</font><div><div></div><div class="h5"><br>
<br><br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 11:46 AM, Nitin Gupta <span dir="ltr">&lt;<a href="mailto:nitingupta910@gmail.com" target="_blank">nitingupta910@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Vijayendra,<div><br>
<br>
On 07/10/2009 10:57 AM, Vijayendra Suman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
My main motive is not to run the compcache block node as a swap partition. I would like to use this partition for shared memory. My application has to do lot of IPC&#39;s but i do not have much memory on board so i have decided to use compcache block device node as a generalized block device.<br>


<br>
</blockquote></div>
How about this:<br>
 - Create a small tmpfs partition, say 64MB and create filesystem over this.<br>
 - Create ramzswap device (probably with a backing_swap) with memlimit of say, 1GB.<br>
<br>
This extra level of indirection using tmpfs effectively gives the same effect as a &#39;generic ramzswap device&#39;.<br>
I think this is what John suggested.<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also I have checked formatting this node with some block as ext3, this works perfectly well.<br>
With ext2 it is having some issue i will look in to it, But with fat 16, 32 I see a hang in the system which is a result of the analysis i have done. I will let you know f i find some thing.<br>
<br>
    1) swapon /dev/ramzswap<br>
    2) mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0700 tmpfs /space<br>
<br>
<br>
I do not want it as swap partition<br>
<br>
</blockquote>
<br></div>
I cannot think of any other method than tmpfs+ramzswap for your case.<br><font color="#888888">
<br>
Nitin<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>