<div dir="ltr">Hi Leszek,<div><br></div><div>at this point in 13.10 I'm already thinking ahead to 14.04 :) Asking Julien to investigate the merits as we will be using the 3.12 kernel in 14.04 makes sense to me :)</div>
<div><br></div><div>I've run the 3.12rc2 for a week on my system, before reverting to the current 'test' 3.11 kernel with the zram chase fixed, and it's looking darn good!</div><div><br></div><div>Regards,</div>
<div><br></div><div>Phill.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 September 2013 19:51, Leszek Lesner <span dir="ltr"><<a href="mailto:leszek.lesner@web.de" target="_blank">leszek.lesner@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 28.09.2013 18:27, schrieb Phill Whiteside:<br>
<div class="im">> Hi John,<br>
><br>
> just to add to the fun, unit193 found this....<br>
> <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215379" target="_blank">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215379</a> So, I don't<br>
> know if we should be using zram or zswap now! It needs looking into by<br>
> someone with more skilled than me (shouldn't be too hard to find one of<br>
> those!). Joe from the kernel team simply said that is for the flavours to<br>
> decide what they use, they just make the kernel :D I've asked Julien to<br>
> have a look into the matter. The chase that zram was experiencing in the<br>
> 3.11 kernels has a fix, the other issues are separate bugs and it seems<br>
> like they have been around for several cycles. It's amazing what skeletons<br>
> come out of the cupboard when someone rattles it hard!<br>
><br>
<br>
</div>ZSwap is fairly new and not tested yet. zram however is widely tested<br>
and it was stable (I have been using it on my phone from kernel 2.6.32<br>
on and later on my laptop in the 3.x cycles) until 3.10.6. So I guess we<br>
should stick with zram for this release and then later test other<br>
solutions aswell. Besides zswap there is also zcache btw. we even might<br>
combine zcache and zram/zswap if we want but that all needs to be tested<br>
first and currently either zswap nor zcache are really tested as they<br>
are fairly new.<br>
<div><div class="h5"><br>
><br>
><br>
> On 28 September 2013 17:10, John Hupp <<a href="mailto:lubuntu@prpcompany.com">lubuntu@prpcompany.com</a>> wrote:<br>
><br>
>> Hi, Nio.<br>
>><br>
>> That is what puzzled me about Phill's statement that before Saucy, zram<br>
>> "was there just not used."<br>
>><br>
>> Your confirmation that it is not used in your up-to-date Raring install<br>
>> sent me looking for a package that depends on zram-config.  I did a<br>
>> Dependencies search in Synaptic and found out that my installed ltsp-client<br>
>> package Recommends zram-config.<br>
>><br>
>> The nicest solution scenarios would be that zram is fixed in time for the<br>
>> Saucy release (there is hope?) and that it is almost simultaneously<br>
>> backported to Raring (there is hope?).<br>
>><br>
>> But in the meantime I suppose I'll need to talk to the LTSP folks about<br>
>> what might be done if neither of the above happens quickly.<br>
>><br>
>> --John<br>
>><br>
>> On 9/28/2013 4:04 AM, Nio Wiklund wrote:<br>
>><br>
>>> Hi John,<br>
>>><br>
>>> I checked in an up to date (update + dist-upgrade) Lubuntu Raring i386<br>
>>> standard desktop installation. I find no zRAM block devices, no<br>
>>> zram-config, and nothing else, that indicates that zram should be<br>
>>> activated. The kernel is 3.8.0.31 #46 according to uname.<br>
>>><br>
>>> guru@pae4pm:~$ uname -a<br>
>>> Linux pae4pm 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 19:56:49 UTC<br>
>>> 2013 i686 i686 i686 GNU/Linux<br>
>>><br>
>>> I think your zRAM 'came along as a dependency for something'. Maybe you<br>
>>> have installed some ppa or other special repository to get new kernels<br>
>>> or other new packages. What version is the kernel in your system?<br>
>>><br>
>>> Best regards<br>
>>> Nio<br>
>>><br>
>>><br>
>>> On 2013-09-28 01:06, John Hupp wrote:<br>
>>><br>
>>>> The news/announcements concerning Saucy tend to say something "new in<br>
>>>> Saucy ... zRAM."<br>
>>>><br>
>>>> But zram-config is installed in my Raring i386 standard desktop<br>
>>>> installation, and I didn't install it unless it came along as a<br>
>>>> dependency for something.<br>
>>>><br>
>>>> On 9/27/2013 6:29 PM, Nio Wiklund wrote:<br>
>>>><br>
>>>>> Sorry, I overlooked that John is running Raring. I didn't think zRAM was<br>
>>>>> used in Raring, but of course, John can install and run it. I'm glad you<br>
>>>>> corrected that mistake by me.<br>
>>>>><br>
>>>>> Best regards<br>
>>>>> Nio<br>
>>>>><br>
>>>>> On 2013-09-28 00:08, Phill Whiteside wrote:<br>
>>>>><br>
>>>>>> hi Nio,<br>
>>>>>><br>
>>>>>> he is running Raring. The bug we see in Saucy on 1227202 is totally<br>
>>>>>> un-related to the sudo parted -l issue.<br>
>>>>>><br>
>>>>>> Getting the race issue sorted out on un-mounting the zram areas is what<br>
>>>>>> the bug fix is. With all the tests I've done, the<br>
>>>>>><br>
>>>>>>    Error: /dev/zram0: unrecognised disk label<br>
>>>>>><br>
>>>>>> Error: /dev/zram1: unrecognised disk label<br>
>>>>>><br>
>>>>>> Has remained until I used the 3.12rc kernel. We will go battle that<br>
>>>>>> issue on Monday to see if we can find the fix. Also do<br>
</div></div>>>>>>> read <a href="https://bugs.launchpad.net/**ubuntu/+source/linux/+bug/**1215379" target="_blank">https://bugs.launchpad.net/**ubuntu/+source/linux/+bug/**1215379</a><<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215379" target="_blank">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215379</a>>as we<br>

<div class="im">>>>>>> may be barking up the wrong tree with zram, and should be using zswap.<br>
>>>>>><br>
>>>>>> Joe cannot tell us which is better to use, just that zswap was in the<br>
>>>>>> 3.11.2 upstream kernel which has been imported into the latest<br>
>>>>>> 3.11.0-9.16 kernel.<br>
>>>>>><br>
>>>>>> It was Unit193 who pointed that issue out, and whilst getting the race<br>
>>>>>> crash sorted out, it appears that zswap is the updated system.<br>
>>>>>><br>
>>>>>> Regards,<br>
>>>>>><br>
>>>>>> Phill.<br>
>>>>>><br>
>>>>>><br>
>>>>>> On 27 September 2013 22:54, Nio Wiklund <<a href="mailto:nio.wiklund@gmail.com">nio.wiklund@gmail.com</a><br>
</div><div><div class="h5">>>>>>> <mailto:<a href="mailto:nio.wiklund@gmail.com">nio.wiklund@gmail.com</a>>**> wrote:<br>
>>>>>><br>
>>>>>>       On 2013-09-27 23:28, John Hupp wrote:<br>
>>>>>>       > On Raring, output from 'sudo parted -l' includes:<br>
>>>>>>       ><br>
>>>>>>       >     Error: /dev/zram0: unrecognised disk label<br>
>>>>>>       ><br>
>>>>>>       > And syslog shows a slew of errors:<br>
>>>>>>       ><br>
>>>>>>       >     Lubuntu kernel: Buffer I/O error on device zram0, logical<br>
>>>>>>       block 128247<br>
>>>>>>       ><br>
>>>>>>       > Syslog also indicates that half of memory was given to zram to<br>
>>>>>>       form its<br>
>>>>>>       > block device.<br>
>>>>>>       ><br>
>>>>>>       > Does this mean that half of memory is dedicated to something<br>
>>>>>> that<br>
>>>>>>       isn't<br>
>>>>>>       > working?  And perhaps that machines will hang when swap is<br>
>>>>>> needed?<br>
>>>>>>       ><br>
>>>>>>       > I arrive at this line of questioning because I was testing an<br>
>>>>>> LTSP<br>
>>>>>>       > client using a Lubuntu LTSP server configured with 1 GB, and<br>
>>>>>> when<br>
>>>>>>       I drop<br>
>>>>>>       > the client memory configuration to 256 MB, the *server* has<br>
>>>>>> hung on<br>
>>>>>>       > several occasions when I was starting or stopping Firefox on<br>
>>>>>> the<br>
>>>>>>       client<br>
>>>>>>       > (though in one case this coincided with the startup of a<br>
>>>>>> SpiderOak<br>
>>>>>>       > backup operation).   I didn't think of the Magic SysRq keys at<br>
>>>>>> the<br>
>>>>>>       time,<br>
>>>>>>       > and nothing else was responding, so I did hard shutdowns.<br>
>>>>>>       ><br>
>>>>>>       > I saw a post from Phill Whiteside recently concerning a rush of<br>
>>>>>>       activity<br>
>>>>>>       > re a zram bug, but it seemed to be directed at Saucy.<br>
>>>>>>       ><br>
>>>>>>       > Are there solutions/workarounds?<br>
>>>>>>       ><br>
>>>>>>       You find a lot of details reading the comments about this bug.<br>
>>>>>><br>
</div></div>>>>>>>       <a href="https://bugs.launchpad.net/**bugs/1227202" target="_blank">https://bugs.launchpad.net/**bugs/1227202</a><<a href="https://bugs.launchpad.net/bugs/1227202" target="_blank">https://bugs.launchpad.net/bugs/1227202</a>><br>

<div class="im">>>>>>><br>
>>>>>>       There is a kernel in the pipeline, that we think will solve most<br>
>>>>>> if not<br>
>>>>>>       all of the problems. Until we get the kernel that can cooperate<br>
>>>>>> with<br>
>>>>>>       zRAM, you can switch it off either manually or with crontab like<br>
>>>>>> this:<br>
>>>>>><br>
>>>>>>       guru@Lubuntu-Saucy-b2:~$ sudo crontab -l |tail -n3<br>
>>>>>>       # m h  dom mon dow   command<br>
>>>>>>       @reboot              /sbin/swapoff /dev/zram*<br>
>>>>>>       @reboot              /sbin/rmmod zram<br>
>>>>>><br>
>>>>>>       Best regards<br>
>>>>>>       Nio<br>
>>>>>><br>
>>>>>>       --<br>
>>>>>>       Lubuntu-users mailing list<br>
>>>>>>       <a href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a><br>
</div>>>>>>> <mailto:<a href="mailto:Lubuntu-users@lists.">Lubuntu-users@lists.</a>**<a href="http://ubuntu.com" target="_blank">ubuntu.com</a><<a href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a>><br>

<div class="im">>>>>>>><br>
>>>>>>       Modify settings or unsubscribe at:<br>
</div>>>>>>>       <a href="https://lists.ubuntu.com/**mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/**mailman/listinfo/lubuntu-users</a><<a href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users</a>><br>

>>>>>><br>
>>>>>><br>
>>>>>><br>
<span class="HOEnZb"><font color="#888888">>>>>>><br>
>>>>>> --<br>
>>>>>> <a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a><br>
>>>>>><br>
>>>>><br>
>><br>
><br>
><br>
><br>
><br>
<br>
<br>
--<br>
Lubuntu-users mailing list<br>
</font></span><div class="HOEnZb"><div class="h5"><a href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users<br clear="all"><div><br></div>-- <br><a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a>
</a>
</div></div></blockquote></div></div>