<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cpu on Notes</title>
    <link>https://www.simplicidade.org/tags/cpu/index.xml</link>
    <description>Recent content in Cpu on Notes</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>melo@simplicidade.org (Pedro Melo)</managingEditor>
    <webMaster>melo@simplicidade.org (Pedro Melo)</webMaster>
    <copyright>(c) 2016 Pedro Melo.</copyright>
    <atom:link href="/tags/cpu/index.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsuhhubbub.superfeedr.com/"/>
    
    <item>
      <title>CPU usage of Skype</title>
      <link>https://www.simplicidade.org/notes/2005/05/28/cpu-usage-of-skype/</link>
      <pubDate>Sat, 28 May 2005 13:01:45 +0000</pubDate>
      <author>melo@simplicidade.org (Pedro Melo)</author>
      <guid>https://www.simplicidade.org/notes/2005/05/28/cpu-usage-of-skype/</guid>
      <description>&lt;p&gt;My Skype is idle right now, sitting there on the second monitor.&lt;/p&gt;

&lt;p&gt;But top tells me that Skype is using 10% of my CPU. 10%!?!?!? WTF? It&amp;rsquo;s just sitting there!&lt;/p&gt;

&lt;p&gt;Doing a &lt;code&gt;ktrace&lt;/code&gt; on the process, gives:&lt;/p&gt;

&lt;pre&gt;
   484 Skype    CALL  getrusage(0,0xf03b6c20)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0xffffffff,0xf03b6c20)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0,0xf03b6c00)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0xffffffff,0xf03b6c00)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0,0xf03b6ca0)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0xffffffff,0xf03b6ca0)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0,0xf03b6bb0)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0xffffffff,0xf03b6bb0)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  select(0x1b,0xf03b6ad0,0xf03b6b50,0xf03b6bd0,0xf03b6c50)
   484 Skype    CALL  getrusage(0,0xf01b2c00)
   484 Skype    RET   getrusage 0
   484 Skype    CALL  getrusage(0xffffffff,0xf01b2c00)
   484 Skype    RET   getrusage 0
&lt;/pre&gt;

&lt;p&gt;Pages and pages of this&amp;hellip;&lt;/p&gt;

&lt;p&gt;And looking at a &lt;code&gt;lsof&lt;/code&gt; of the process, there is a single connection to a specific IP address, but running a &lt;code&gt;tcpdump&lt;/code&gt; to catch all the traffic going to the address, shows that there is very little traffic.&lt;/p&gt;

&lt;p&gt;So what is Skype doing with the idle time?&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>