<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: High IOWAIT/CPU usage in Lollipop in XPERIA archive</title>
    <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437196#M511775</link>
    <description>&lt;P&gt;And that would be useful to the discussion.. because? A constant high I/O Wait is bad. And wrong. Plain and simple. It isn't only a matter of battery, it is also a matter of having CPU cores doing nothing because they are waiting for who knows what.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and by the way. There has been a guy showing a screen time of 8 and 1/2 hours changing the zram parameters.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Oct 2015 18:22:50 GMT</pubDate>
    <dc:creator>Michelasso</dc:creator>
    <dc:date>2015-10-18T18:22:50Z</dc:date>
    <item>
      <title>High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437189#M511768</link>
      <description>&lt;P&gt;After installing Lollipop I checked a bit what was running on it and with "busybox top" (but also the stock "top" command) via adb shell I noticed that the IOWAIT was very high (50%). Other tools show that while active the CPU frequency is stuck at 1190Mhz with at least 2 cores. So I did a factory reset, and nothing changed. Here is a sample:&lt;/P&gt;&lt;P&gt;Mem: 733016K used, 152060K free, 0K shrd, 40788K buff, 180220K cached&lt;/P&gt;&lt;P&gt;CPU:&amp;nbsp; 1.2% usr&amp;nbsp; 7.4% sys&amp;nbsp; 0.0% nic 47.3% idle &lt;STRONG&gt;43.8% io&lt;/STRONG&gt;&amp;nbsp; 0.0% irq&amp;nbsp; 0.0% sirq&lt;/P&gt;&lt;P&gt;Load average: 10.85 11.35 10.77 2/1680 31466&lt;/P&gt;&lt;P&gt;&amp;nbsp; PID&amp;nbsp; PPID USER &amp;nbsp; &amp;nbsp; STAT &amp;nbsp; VSZ %VSZ CPU %CPU COMMAND&lt;/P&gt;&lt;P&gt;&amp;nbsp; 759 &amp;nbsp; 341 1000 &amp;nbsp; &amp;nbsp; S &amp;lt;&amp;nbsp; 1136m131.3 &amp;nbsp; 1&amp;nbsp; 1.7 system_server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 84 &amp;nbsp; &amp;nbsp; 2 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DW &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; 0.0 &amp;nbsp; 1&amp;nbsp; 1.0 [kswapd0]&lt;/P&gt;&lt;P&gt;It just stays like that all times I check.I also tried umounting the external SD card, no changes. I don't know if it is related to kswapd0 process (I noticed there is a swap device as well now? About 450MB) or else, but after a factory reset this is disturbing. It's needless to say that it drains the battery like crazy.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 00:18:08 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437189#M511768</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-02T00:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437190#M511769</link>
      <description>&lt;P&gt;Is anyone from Sony support checking the M2 forum?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 08:50:16 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437190#M511769</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-02T08:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437191#M511770</link>
      <description>This isn't run by Sony staff</description>
      <pubDate>Fri, 02 Oct 2015 09:46:33 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437191#M511770</guid>
      <dc:creator>1adrian1</dc:creator>
      <dc:date>2015-10-02T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437192#M511771</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.sony.co.uk/t5/user/viewprofilepage/user-id/311367"&gt;@1adrian1&lt;/A&gt; wrote:&lt;BR /&gt;This isn't run by Sony staff&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What? Really?&amp;nbsp;But I've seen in other threads some Sony Support staff replying and taking care of the issues.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 09:51:55 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437192#M511771</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-02T09:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437193#M511772</link>
      <description>&lt;P&gt;So finally I have got root and with it i could dig the problem. It was the kswapd0 daemon indeed, or better, the zRAM. Lollipop on our M2 devices enables zRAM, which is the compressed (in RAM) virtual memory. This would be a good thing, since it gives virtual access to more bytes in the RAM at (usually) a low CPU cost. But if the cost is to have an average iowait of 40% (with the idle time never going above 60-70%) &amp;nbsp;something went really, really wrong. I had the zram enabled in the&amp;nbsp;custom kernel of my old mono core Gingerbread phone and with no activity the idle time was 95% or more.&lt;/P&gt;&lt;P&gt;Anyway, to make a long story short disabling the zram it went back to normal. In order to do it one needs to run the following command as root:&lt;/P&gt;&lt;PRE&gt;swapoff /dev/block/zram0&lt;/PRE&gt;&lt;P&gt;To do it automatically just put the same command in a script in /etc/init.d (if your rooting&amp;nbsp;supports it).&lt;/P&gt;&lt;P&gt;Oh, this is NOT a solution. Just a work around for rooted users. Sony is better fixing this.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2015 09:14:21 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437193#M511772</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-03T09:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437194#M511773</link>
      <description>&lt;P&gt;With the help of some other users at XDA I&amp;nbsp;managed to identify even a bettwer workaround (obviously it still needs root) which keeps the zram enabled (with the zram disabled forget about the multitasking keeping in memory the open applications). Just make an /etc/init.d script&amp;nbsp;with the following lines (if you know how that works - Don't forget to call the shell in the header!) or for more semplicity just add them to the /etc/init.d/00stop_ric script:&lt;/P&gt;&lt;PRE&gt;sysctl -w vm.swappiness=60&lt;BR /&gt;sysctl -w vm.laptop_mode=1
sysctl -w vm.drop_caches=1&lt;/PRE&gt;&lt;P&gt;obviously removing the previous "swapoff" command if present.&amp;nbsp;It does work (the I/O wait few minutes after boot goes down to 0), it has been used by many now and some even report that they have got an appreciable battery gain (which would make sense). Still in my opinion kswapd0 is working too much, which is disappointing since ART in Lollipop was supposed to use less RAM, not more! But I suppose that particular one is a Google issue.&lt;/P&gt;&lt;P&gt;PS: Since those are all workarounds it would be nice if someone from Sony in the forum will bring this to the attention of the developers.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:14:31 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437194#M511773</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-16T10:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437195#M511774</link>
      <description>Not touched my zram settings and getting superb battery life now back to how it was on kk if not better. Never less than 5-6hrs screen time no matter how much I use it</description>
      <pubDate>Sat, 17 Oct 2015 08:04:31 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437195#M511774</guid>
      <dc:creator>1adrian1</dc:creator>
      <dc:date>2015-10-17T08:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437196#M511775</link>
      <description>&lt;P&gt;And that would be useful to the discussion.. because? A constant high I/O Wait is bad. And wrong. Plain and simple. It isn't only a matter of battery, it is also a matter of having CPU cores doing nothing because they are waiting for who knows what.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and by the way. There has been a guy showing a screen time of 8 and 1/2 hours changing the zram parameters.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2015 18:22:50 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437196#M511775</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-18T18:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437197#M511776</link>
      <description>I'm sure you can I can get 6hrs with zram as Sony intended so it probably is easily achievable. If it was that bad they Wouldn't have used it. The biggest cause of battery drain I've found is Google services as usual running a million things(slight exaduration) in the background.</description>
      <pubDate>Wed, 21 Oct 2015 05:45:31 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437197#M511776</guid>
      <dc:creator>1adrian1</dc:creator>
      <dc:date>2015-10-21T05:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: High IOWAIT/CPU usage in Lollipop</title>
      <link>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437198#M511777</link>
      <description>&lt;P&gt;Sony introduced the zram because Lollipop eats RAM for breakfast, leaving little for anything else. Other then the internal memory because of ART, sure. If one simply&amp;nbsp;disables zram&amp;nbsp;the I/O Wait goes to normal but you can &amp;nbsp;kiss goodbye to any multitasking. Not that zram improves it much anyway. That Andorid memory hog needs at least 2Gb to run as intended.&lt;/P&gt;&lt;P&gt;Still, that's not the point. But since it seem quite clear you have not the required skills and knowledge let's end the discussion here, shall we?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:48:15 GMT</pubDate>
      <guid>https://community.sony.si/t5/xperia-archive/high-iowait-cpu-usage-in-lollipop/m-p/3437198#M511777</guid>
      <dc:creator>Michelasso</dc:creator>
      <dc:date>2015-10-21T13:48:15Z</dc:date>
    </item>
  </channel>
</rss>

