The WP/Skype slowdown myth? (NB. I see Skype has eight million users online at the moment.)
This page (689)... Well. I was on page 688, with my CPU usage hovering around 20%, then I came on this page and watched Chuck's YouTube (excellent!) and blesedmom's YouTube (too dark to see any juggling), then I noticed that I had 100% CPU being used.
I closed this tab and another tab I had open to WP, but did nothing to the other 5 tabs (Wikipedia, ImageShack, Urban Dictionary, Salad Fingers, TLDP (The Linux Documentation Project), and I was back showing 20% CPU.
Opened a new tab to WP, for page 688 (no YouTube previews)... still 20%.
Moved forward to page 689 - 60% CPU.
Watched part of Chuck's video - up to 80%. Stayed there, even when the whole clip had been downloaded, so nothing to do with the internet connection, or any interference from Skype with that.
Watched part of blesedmom's video. CPU went up to 92%.
Used "back" to go back to page 688. CPU drpped to 20%
While I'm posting this, the CPU has gone back up to 60% (both videos are present in the "Topic Review" box below this.
Just clicked play on Chuck's video down there. CPU now 90%. Paused it, still 90%. Scrolled down so neither was actually visible in that box, and the usage is now 60%. Scrolled up to have Chuck's video visible, CPU goes back up to 80%.
All the above isn't totally consistent, but the broad pattern stays the same, and jumps in usage happen exactly at the point where the absence/presence/visibility of the YouTube previews are involved. Merely having YouTube previews visible on a page slugs your CPU. I my case, I've got a 1.6GHz P4, and it copes, most of the time. Anyone with a slower machine will have major problems. People with faster machines may not know what we're talking about.
I just scrolled those video previews out of sight , again, and the CPU usage shows 50%. As I say, this is not completely consistent, but the gross culprit seems to be the YouTube video preview.
While typing here, at this moment, the usage hovers around 60%.
(PS. Whilst looping around, many times, doing typo corrections to this post, I note that when on the "Your message has been entered successfully." page, the overall CPU usage drops to 10%)
I partially buried this window, for a while, to look at the detailed usage, and during that, the overall usage showed as 40%. The detail usage (on Linux, etc) is shown by a program called "top". My browser is Seamonkey. Xorg is the display manager. Compiz does the display compositing (pretties!). Skype uses 1.5% of my CPU time. This is the 30 second period capture:
Code:
top - 18:23:37 up 10 days, 58 min, 4 users, load average: 1.28, 1.31, 1.63
Tasks: 170 total, 1 running, 169 sleeping, 0 stopped, 0 zombie
Cpu(s): 37.7%us, 5.7%sy, 0.0%ni, 50.3%id, 0.0%wa, 1.7%hi, 4.5%si, 0.0%st
Mem: 515988k total, 491032k used, 24956k free, 8640k buffers
Swap: 1627240k total, 514940k used, 1112300k free, 101976k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25283 lau 16 0 378m 124m 28m S 31.6 24.7 103:02.56 seamonkey-bin
5175 root 15 0 158m 59m 4956 S 7.5 11.9 886:55.26 Xorg
30584 lau 15 0 87936 25m 3940 S 4.9 5.1 62:09.40 compiz.real
31528 lau 15 0 208m 42m 9492 S 1.5 8.4 80:52.76 skype
7506 lau 15 0 91332 5344 2964 S 0.6 1.0 81:01.55 gnome-system-mo
4085 lau 15 0 36268 2344 1744 S 0.3 0.5 28:59.71 knotify
6380 lau 15 0 151m 16m 6180 S 0.2 3.2 78:32.40 gnome-panel
6632 lau 15 0 75968 3360 2432 S 0.2 0.7 12:01.80 mixer_applet2
7062 lau 15 0 109m 5772 3624 S 0.2 1.1 0:42.50 gnome-terminal
5001 messageb 16 0 2860 736 516 S 0.1 0.1 10:28.26 dbus-daemon
7162 lau 15 0 74044 4296 3236 S 0.1 0.8 9:47.75 nm-applet
7163 lau 15 0 41444 2096 1572 S 0.1 0.4 11:15.19 gnome-cups-icon
2005 root 10 -5 0 0 0 S 0.1 0.0 5:57.06 scsi_eh_1
2107 cupsys 26 10 4720 2000 1488 S 0.1 0.4 0:19.99 cupsd
_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports."
Kamran Nazeer