<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Opera burns CPU with poll()+recvmsg() loop]]></title><description><![CDATA[<p dir="auto">Opera 45.0.2552.812, latest Arch Linux.</p>
<p dir="auto">Right from start Opera burns CPU with poll() loop as shown by strace: [1]</p>
<p dir="auto">It is always 2 file descriptors, in this case, 110 and 117.</p>
<p dir="auto">Looking at it closer, strace shows backtraces for each EAGAIN'ed recvmsg: [2]</p>
<p dir="auto">Looks like it has something to do with X server interaction.</p>
<p dir="auto">Checking those descriptors here: [3]</p>
<p dir="auto">Closing those descriptors via gdb results in Opera SIGSEGV.</p>
<p dir="auto">Always reproducible, even with clean profile and no extensions.</p>
<p dir="auto">Is there any option how to save my CPU cycles?</p>
<p dir="auto">Thanks.</p>
<p dir="auto">[1] <a href="https://gist.github.com/a8d11ac5477982128525f51f11d3ca4d" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/a8d11ac5477982128525f51f11d3ca4d</a><br />
[2] <a href="https://gist.github.com/d32b99483a5c236cbd92aa38e586741f" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/d32b99483a5c236cbd92aa38e586741f</a><br />
[3] <a href="https://gist.github.com/5aee3ef7d487a67e23d7d001f2c46ea6" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/5aee3ef7d487a67e23d7d001f2c46ea6</a></p>
]]></description><link>https://forums.opera.com/topic/20901/opera-burns-cpu-with-poll-recvmsg-loop</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 12:01:37 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/20901.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 May 2017 23:48:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Fri, 07 Jul 2017 09:17:30 GMT]]></title><description><![CDATA[<p dir="auto">Same with v46.0.2597.39.</p>
]]></description><link>https://forums.opera.com/post/124456</link><guid isPermaLink="true">https://forums.opera.com/post/124456</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Fri, 07 Jul 2017 09:17:30 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Wed, 28 Jun 2017 12:17:47 GMT]]></title><description><![CDATA[<p dir="auto">Still applies to v46.0.2597.32.</p>
]]></description><link>https://forums.opera.com/post/124011</link><guid isPermaLink="true">https://forums.opera.com/post/124011</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Wed, 28 Jun 2017 12:17:47 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Fri, 23 Jun 2017 05:09:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/38563">@avl</a>, in Task Manager, "Browser" process consumes 15 to 25% of CPU.</p>
<p dir="auto">Still applies to v46.0.2597.26.</p>
]]></description><link>https://forums.opera.com/post/123756</link><guid isPermaLink="true">https://forums.opera.com/post/123756</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Fri, 23 Jun 2017 05:09:16 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Thu, 22 Jun 2017 13:07:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.opera.com/uid/176718">@pfactum</a>, what you're seeing in strace is the message loop. Every UI application has one, and among other things, it handles communication with the X11 server. It is indeed very busy - a browser sends and receives lots of messages, many in one second. Getting EAGAIN is a normal part of life, and might indicate that Opera is busy (meaning that messages that are no longer relevant don't need to be handled). The EAGAIN is more likely to be a symptom than an effect of the high CPU usage you see.</p>
<p dir="auto">If you still see high CPU usage while using Opera, check out the built-in Task Manager to see exactly which process is using CPU, perhaps then we can find out what's happening on your system.</p>
]]></description><link>https://forums.opera.com/post/123729</link><guid isPermaLink="true">https://forums.opera.com/post/123729</guid><dc:creator><![CDATA[avl]]></dc:creator><pubDate>Thu, 22 Jun 2017 13:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Wed, 14 Jun 2017 08:13:20 GMT]]></title><description><![CDATA[<p dir="auto">Same with v45.0.2552.898.</p>
]]></description><link>https://forums.opera.com/post/123335</link><guid isPermaLink="true">https://forums.opera.com/post/123335</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Wed, 14 Jun 2017 08:13:20 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Wed, 07 Jun 2017 06:00:48 GMT]]></title><description><![CDATA[<p dir="auto">Again, same applies to Chromium 59.0.3071.86, but to less extent. strace shows the same picture, but recvmsg fails with EAGAIN once per several seconds, thus CPU load is minimal. For Opera, recvmsg returns EAGAIN lots of times per second, and CPU load is noticeable.</p>
<p dir="auto">So, this has something to do with common engine code, likely, interaction with X server.</p>
]]></description><link>https://forums.opera.com/post/122976</link><guid isPermaLink="true">https://forums.opera.com/post/122976</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Wed, 07 Jun 2017 06:00:48 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Tue, 06 Jun 2017 12:20:44 GMT]]></title><description><![CDATA[<p dir="auto">Having nothing to add to your problem, I would like to mention that chromium was updated to 59.x today from upstream. Check if that solves your problem.</p>
]]></description><link>https://forums.opera.com/post/122924</link><guid isPermaLink="true">https://forums.opera.com/post/122924</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 06 Jun 2017 12:20:44 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Tue, 06 Jun 2017 12:13:23 GMT]]></title><description><![CDATA[<p dir="auto">Same with 45.0.2552.888.</p>
]]></description><link>https://forums.opera.com/post/122923</link><guid isPermaLink="true">https://forums.opera.com/post/122923</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Tue, 06 Jun 2017 12:13:23 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Sun, 28 May 2017 17:56:40 GMT]]></title><description><![CDATA[<p dir="auto">Same applies to 45.0.2552.881.</p>
]]></description><link>https://forums.opera.com/post/122186</link><guid isPermaLink="true">https://forums.opera.com/post/122186</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Sun, 28 May 2017 17:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Mon, 22 May 2017 17:05:46 GMT]]></title><description><![CDATA[<p dir="auto">Same applies to Chromium 58.0.3029.110. The only difference is that EAGAIN arrives more rarely (once per several, up to 10, seconds), thus CPU is not used that high as by Opera.</p>
<p dir="auto">So, it has something to do with engine.</p>
]]></description><link>https://forums.opera.com/post/121570</link><guid isPermaLink="true">https://forums.opera.com/post/121570</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Mon, 22 May 2017 17:05:46 GMT</pubDate></item><item><title><![CDATA[Reply to Opera burns CPU with poll()+recvmsg() loop on Mon, 22 May 2017 10:47:03 GMT]]></title><description><![CDATA[<p dir="auto">Reproduced on 2 machines with Arch and on 1 machine with Gentoo. CPU usage varies depending on CPU power, but strace shows similar picture (EAGAIN flood).</p>
]]></description><link>https://forums.opera.com/post/121502</link><guid isPermaLink="true">https://forums.opera.com/post/121502</guid><dc:creator><![CDATA[pfactum]]></dc:creator><pubDate>Mon, 22 May 2017 10:47:03 GMT</pubDate></item></channel></rss>