| View previous topic :: View next topic |
| Author |
Message |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Wed Jun 13, 2012 8:45 am Post subject: [SOLVED] My system is has become nexpectedly slow ! |
|
|
Hi all,
Since the system & world update I performed one month ago, my system is very slow. For example, it can take 30 sec to change from one desk to another, to open an application menu, to flush the text I type in the console. I performed yesterday another update, but it is still the same. I have tried to investigate, but I found nothing.
Some times it is reactive, but only for a few seconds.
Any advice please ?
Here are some information :
| Code: | # top
top - 10:12:26 up 18:02, 1 user, load average: 0.17, 0.13, 0.14
Tasks: 202 total, 1 running, 201 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8156668k total, 5492576k used, 2664092k free, 548760k buffers
Swap: 17896336k total, 0k used, 17896336k free, 1795592k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16503 lalebarde 20 0 1873m 1.4g 32m S 3 18.0 3:49.95 opera
2874 root 20 0 154m 55m 26m S 1 0.7 27:01.33 X
3236 lalebarde 20 0 334m 30m 19m S 0 0.4 1:05.75 xfce4-weather-p
3282 lalebarde 20 0 293m 33m 16m S 0 0.4 0:24.62 xfce4-netload-p
3333 lalebarde 20 0 446m 32m 20m S 0 0.4 0:03.17 Terminal
3340 lalebarde 20 0 316m 17m 7152 S 0 0.2 0:00.46 xfsettingsd
4189 lalebarde 20 0 1357m 397m 55m S 0 5.0 5:52.67 thunderbird-bin
7922 lalebarde 20 0 325m 125m 31m S 0 1.6 0:37.03 acroread
1 root 20 0 4128 704 600 S 0 0.0 0:01.14 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:01.84 ksoftirqd/0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 |
| Code: | # uname -a
Linux JANUS 2.6.37-tuxonice #6 SMP PREEMPT Sat May 12 15:50:29 CEST 2012 x86_64 Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz GenuineIntel GNU/Linux |
| Code: | # free -m
total used free shared buffers cached
Mem: 7965 5398 2567 0 539 1762
-/+ buffers/cache: 3096 4869
Swap: 17476 0 17476 |
| Code: | # df -h
Sys. fich. Taille Util. Dispo Uti% Monté sur
rootfs 3,9G 663M 3,1G 18% /
/dev/root 3,9G 663M 3,1G 18% /
devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs 3,9G 312K 3,9G 1% /run
rc-svcdir 1,0M 116K 908K 12% /lib64/rc/init.d
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
shm 3,9G 12K 3,9G 1% /dev/shm
/dev/sda7 62G 33G 27G 56% /var
/dev/sda8 50G 37G 11G 78% /usr
/dev/sdb2 124G 113G 4,3G 97% /home
/dev/sdb3 671G 462G 176G 73% /Data |
| Code: | # dmesg | egrep "EE|WW"
| returns nothing except PREEMPT and FREEZE LOCK which is not what we are looking for.
| Code: | # rc-update show
alsasound | boot
bootmisc | boot
bridge_forward | default
consolefont | boot
cupsd | default
dbus | default
dcron | default
devfs | sysinit
device-mapper | boot
dmesg | sysinit
fsck | boot
gpm | default
hibernate-cleanup | boot
hostname | boot
hwclock | boot
keymaps | boot
keytouch | default
killprocs | shutdown
kvm | default
local | default nonetwork
localmount | boot
lvm | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.br0 | default
net.eth0 | default
net.lo | boot
net.qtap0 | default
netmount | default
nfs | boot
procfs | boot
root | boot
savecache | shutdown
swap | boot
sysctl | boot
syslog-ng | default
termencoding | boot
udev | default sysinit
udev-postmount | default
urandom | boot
xdm | default |
[code][code]# free -m
total used free shared buffers cached
Mem: 7965 5398 2567 0 539 1762
-/+ buffers/cache: 3096 4869
Swap: 17476 0 17476 [/code]
[code]# df -h
Sys. fich. Taille Util. Dispo Uti% Monté sur
rootfs 3,9G 663M 3,1G 18% /
/dev/root 3,9G 663M 3,1G 18% /
devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs 3,9G 312K 3,9G 1% /run
rc-svcdir 1,0M 116K 908K 12% /lib64/rc/init.d
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
shm 3,9G 12K 3,9G 1% /dev/shm
/dev/sda7 62G 33G 27G 56% /var
/dev/sda8 50G 37G 11G 78% /usr
/dev/sdb2 124G 113G 4,3G 97% /home
/dev/sdb3 671G 462G 176G 73% /Data [/code]
[code]# dmesg | egrep "EE|WW"
[/code] returns nothing except PREEMPT and FREEZE LOCK which is not what we are looking for.
[code]# rc-update show
alsasound | boot
bootmisc | boot
bridge_forward | default
consolefont | boot
cupsd | default
dbus | default
dcron | default
devfs | sysinit
device-mapper | boot
dmesg | sysinit
fsck | boot
gpm | default
hibernate-cleanup | boot
hostname | boot
hwclock | boot
keymaps | boot
keytouch | default
killprocs | shutdown
kvm | default
local | default nonetwork
localmount | boot
lvm | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.br0 | default
net.eth0 | default
net.lo | boot
net.qtap0 | default
netmount | default
nfs | boot
procfs | boot
root | boot
savecache | shutdown
swap | boot
sysctl | boot
syslog-ng | default
termencoding | boot
udev | default sysinit
udev-postmount | default
urandom | boot
xdm | default [/code]
[code]# emerge --info
Invalid package name in package.provided: x11-misc/xvidcap
See portage(5) for correct package.provided usage.
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 2.6.37-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.37-tuxonice-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Mon, 11 Jun 2012 14:45:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 2.7.3-r2, 3.1.4-r3, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.3.4, 4.4.5, 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo proaudio java-overlay science kde-sunset x-mornifle-gentoo-package dev-zero dilfridge sunrise nx multimedia x-pythonhead ikelos godin sage-on-gentoo ibormuth gamerlay-stable x-portage x-mesEbuilds
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse4 -mcx16 -msahf -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -msse4 -mcx16 -msahf -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8.0 --with-bdeps y"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR en"
MAKEOPTS="-j9 --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pro-audio /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/mornifle-gentoo-package /usr/local/portage/layman/dev-zero /usr/local/portage/layman/dilfridge /usr/local/portage/layman/sunrise /usr/local/portage/layman/nx /usr/local/portage/layman/multimedia /usr/local/portage/layman/pythonhead /usr/local/portage/layman/ikelos /usr/local/portage/layman/godin /usr/local/portage/layman/sage-on-gentoo /usr/local/portage/layman/ibormuth /usr/local/portage/layman/gamerlay /usr/local/portage /usr/local/portage/mesEbuilds"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm bash-completion bcmath berkdb bluetooth branding bzip2 calendar cdda cdparanoia cdr clamav cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr encode exif fam fbcon fftw firefox flac fortran ftp gd gdbm gif ginac gphoto2 gpm graphviz gtk hardened iconv icq idn ieee1394 imagemagick imap imlib ipv6 jack javascript joystick jpeg jpeg2k kerberos krb4 lcms ldap libnotify libwww lirc lm_sensors mad mhash midi mjpeg mmx mng modules mp3 mp4 mpeg msn mudflap multilib mysql mysqli nas ncurses nls nocd nptl nsplugin nvidia ofx ogg openal opengl openmp pam pango pcre pda pdf plotutils png policykit portaudio posix ppds pppd profile qt3support readline samba scanner sdl session sharedmem slang slp source spell sse sse2 ssl startup-notification svg tcpd test tetex thunar tiff tokenizer truetype type1 udev udisks unicode upower usb v4l v4l2 vcd videos vorbis wxwidgets x264 xcb xinerama xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="hdsp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vga nvidia nv v4l v4l2" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON [/code]
Last edited by lalebarde on Fri Jun 15, 2012 8:27 am; edited 1 time in total |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
Posted: Wed Jun 13, 2012 9:08 am Post subject: |
|
|
Top seems to indicate nothing is hogging the CPU, though you might it easier to see using htop.
You'll also want to install iotop to see if any disk I/O processes are dominating.
Does this phenomenon happen in your desktop session, or also on the text consoles? Try not starting X and see how the text consoles behave.
What if you turn off swap? (On a related note: why in the world do you have 16GB of swap? If you 8GB RAM, and you don't hibernate, you shouldn't need swap at all.) _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Wed Jun 13, 2012 11:10 am Post subject: |
|
|
Thanks for your help Hypnos,
Here is the result of iotop in cumulative mode during around 20 seconds :
| Code: | # iotop -oa
Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
1845 be/3 root 0.00 B 16.00 K 0.00 % 0.24 % [jbd2/sda7-8]
1849 be/3 root 0.00 B 80.00 K 0.00 % 0.15 % [jbd2/sdb2-8]
12395 be/4 root 0.00 B 4.00 K 0.00 % 0.00 % [flush-8:0]
16503 be/4 alain 0.00 B 192.00 K 0.00 % 0.00 % opera
16795 be/4 alain 0.00 B 8.00 K 0.00 % 0.00 % java -Xms128m -Xmx256m -XX:MaxPe~uncher_1.0.201.R35x_v20090715.jar
16855 be/4 alain 0.00 B 4.00 K 0.00 % 0.00 % java -Xms128m -Xmx256m -XX:MaxPe~uncher_1.0.201.R35x_v20090715.jar |
Concerning swap, I use hibernate on my desktop. Moreover, I do algorithm development. And I often use 7 Gb or more. That's the reasons why I use swap and I sized it so big.
Nevertheless, I have rebooted with no X, and then I have no latence. So the problem seems to come from X.
I have then restored X, but with swap disabled. It is a little better, but the problem is still here. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
Posted: Wed Jun 13, 2012 1:27 pm Post subject: |
|
|
Your I/O usage seems insignificant.
Does your /var/log/Xorg.0.log say anything interesting? These would be lines with "(EE)" or "(WW)".
Also, your VIDEO_CARDS variable in make.conf confuses me -- why do you have both "nvidia" and "nv" ? What are the Video4Linux drivers for? Anyway, you can try clearing all of these and having just "nouveau" for the open source drivers. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 617 Location: Under the moon and all the stars in the sky.
|
Posted: Wed Jun 13, 2012 1:28 pm Post subject: |
|
|
which DE do you use with X? Possibly you have a hard drive failing? I have noticed some severe I/O choking where it tries to read but cant, right before SMART decides it wants to fail, if i remember right it felt like 100% cpu usage and low memory conditions, choking I/O, like as if i was compiling, when in fact KDE and most of my services was idle. you could run a few hdparm -tT tests on each of the drives to see if the throughput of one is far below the others.
nvidia drivers should be completly fine, i like nouveau but am waiting for it to mature more, and its ok to have nv compiled too as a backup incase something goes wrong with your nvidia so you dont have to compile the nv drivers. _________________ Now, with penguins, (cuddly such), "contented" means it has either just gotten laid, or it's stuffed on herring. Take it from me, I'm an expert on penguins, those are really the only two options.
--Linus Torvalds |
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Wed Jun 13, 2012 10:17 pm Post subject: |
|
|
After a lot of investigations, it seems that it is the opera browser that makes this mess. When I stop it, everything becomes normal !!! I even tried a stress test with many heavy applications launched. Reactivity is alright. I will check the stability until tomorrow night.
Anyway, here are the answers to your questions :
| Hypnos wrote: | | Does your /var/log/Xorg.0.log say anything interesting? These would be lines with "(EE)" or "(WW)". |
| Code: | # egrep "EE|WW" /var/log/Xorg.0.log
[ 20.224] Current Operating System: Linux JANUS 2.6.37-tuxonice #6 SMP PREEMPT Sat May 12 15:50:29 CEST 2012 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20.521] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF/".
[ 20.521] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[ 20.522] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/Type1/".
[ 20.528] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 20.645] (II) Loading extension MIT-SCREEN-SAVER
[ 21.107] (WW) Warning, couldn't open module dri
[ 21.107] (EE) Failed to load module "dri" (module does not exist, 0)
[ 21.108] (WW) Warning, couldn't open module dri2
[ 21.108] (EE) Failed to load module "dri2" (module does not exist, 0)
[ 23.039] (WW) Warning, couldn't open module dri2
[ 23.039] (EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0) |
According to some threads here, these EE and WW are to be ignored.
| Hypnos wrote: | | Also, your VIDEO_CARDS variable in make.conf confuses me -- why do you have both "nvidia" and "nv" ? What are the Video4Linux drivers for? Anyway, you can try clearing all of these and having just "nouveau" for the open source drivers. | I don't remember. I followed some tips or howto here.
| djdunn wrote: | | which DE do you use with X? | xfce.
| djdunn wrote: | | you could run a few hdparm -tT tests on each of the drives to see if the throughput of one is far below the others. |
| Code: | # hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 16150 MB in 2.00 seconds = 8084.71 MB/sec
Timing buffered disk reads: 372 MB in 3.01 seconds = 123.62 MB/sec
# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 16134 MB in 2.00 seconds = 8077.02 MB/sec
Timing buffered disk reads: 336 MB in 3.01 seconds = 111.65 MB/sec
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 16250 MB in 2.00 seconds = 8135.59 MB/sec
Timing buffered disk reads: 372 MB in 3.01 seconds = 123.67 MB/sec
# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 16134 MB in 2.00 seconds = 8077.02 MB/sec
Timing buffered disk reads: 372 MB in 3.02 seconds = 123.26 MB/sec
| It looks right. Isn't it ? |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
Posted: Thu Jun 14, 2012 4:24 am Post subject: |
|
|
It's odd that that Opera is causing the slowdown without hogging the CPU (as would be indicated by [h]top). Have to wonder what the interaction is that is causing the slowdown.
Since Opera is closed source, your best bet to diagnose the problem might be to run it with "strace", see if there are any frequent system calls that can give a hint about the issue. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Thu Jun 14, 2012 10:04 am Post subject: |
|
|
Here is the result of strace, attached to opera when it the system becomes slow.
With no swap : | Code: | % time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
96.33 36.100914 1669 21626 4655 futex
2.01 0.754246 2 364195 select
0.90 0.338604 12 27170 2 poll
0.51 0.191392 1 341440 120 wait4
0.09 0.033996 1062 32 fsync
0.02 0.008380 3 2402 104 ioctl
0.02 0.006097 1 10694 64 close
0.02 0.005878 0 341150 kill
0.01 0.005325 10 529 sendto
0.01 0.004845 0 33373 267 read
0.01 0.004637 0 22264 munmap
0.01 0.004097 0 10212 445 open
0.01 0.003416 0 59837 45400 recvfrom
0.01 0.002511 1 3506 unlink
0.01 0.002103 0 13214 writev
0.01 0.001999 222 9 nanosleep
0.00 0.001288 0 12074 8 fcntl
0.00 0.001118 0 24929 write
0.00 0.000822 0 25506 mmap
0.00 0.000610 6 98 getdents
0.00 0.000515 4 134 getsockname
0.00 0.000456 0 15783 15656 connect
0.00 0.000436 0 24069 24 lseek
0.00 0.000275 0 3516 mprotect
0.00 0.000255 0 10311 684 lstat
0.00 0.000232 0 4192 getrlimit
0.00 0.000224 0 10969 363 stat
0.00 0.000219 1 175 sched_yield
0.00 0.000170 0 8441 fstat
0.00 0.000159 7 22 rename
0.00 0.000059 0 941 273 access
0.00 0.000018 0 45 chmod
0.00 0.000016 0 120 pipe
0.00 0.000011 1 16 getpgrp
0.00 0.000010 0 80 clock_gettime
0.00 0.000006 0 1570 rt_sigprocmask
0.00 0.000005 0 512 geteuid
0.00 0.000000 0 409 brk
0.00 0.000000 0 1781 rt_sigaction
0.00 0.000000 0 122 rt_sigreturn
0.00 0.000000 0 24 madvise
0.00 0.000000 0 152 dup2
0.00 0.000000 0 131 getpid
0.00 0.000000 0 179 socket
0.00 0.000000 0 20 recvmsg
0.00 0.000000 0 28 shutdown
0.00 0.000000 0 4 bind
0.00 0.000000 0 34 getpeername
0.00 0.000000 0 199 setsockopt
0.00 0.000000 0 21 getsockopt
0.00 0.000000 0 244 clone
0.00 0.000000 0 112 execve
0.00 0.000000 0 175 uname
0.00 0.000000 0 1 shmdt
0.00 0.000000 0 1 mkdir
0.00 0.000000 0 1 rmdir
0.00 0.000000 0 112 readlink
0.00 0.000000 0 88 umask
0.00 0.000000 0 16 sysinfo
0.00 0.000000 0 408 getuid
0.00 0.000000 0 400 getgid
0.00 0.000000 0 400 getegid
0.00 0.000000 0 40 getppid
0.00 0.000000 0 8 getresuid
0.00 0.000000 0 8 getresgid
0.00 0.000000 0 8 sched_getparam
0.00 0.000000 0 8 sched_setscheduler
0.00 0.000000 0 8 sched_getscheduler
0.00 0.000000 0 8 sched_get_priority_max
0.00 0.000000 0 8 sched_get_priority_min
0.00 0.000000 0 112 arch_prctl
0.00 0.000000 0 1 gettid
0.00 0.000000 0 8 set_tid_address
0.00 0.000000 0 1 tgkill
0.00 0.000000 0 24 faccessat
0.00 0.000000 0 100 set_robust_list
0.00 0.000000 0 8 eventfd2
0.00 0.000000 0 8 pipe2
------ ----------- ----------- --------- --------- ----------------
100.00 37.475344 1400576 68065 total |
I don't know how to interpret it.
Then I reactivated the swap, but even when I open many heavy applications, it is not used. I rebooted and retry and it is the same. Probably it happens only when I run my own very RAM consumming algorithms. But at present time it is not in a state to run, so I cannot go further.
I will come back soon. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Thu Jun 14, 2012 12:14 pm Post subject: |
|
|
I have not measured. But if I take the min and the max of the time stamped in the file, I have : 20955−20209 = 746" = 12'
The file size is 11.6Mb.
The command I used are, after having started opera and wait for slow-down :
| Code: | $ ps aux | grep opera
$ strace -CfrtT -o /tmp/opera-strace-no-swap.log -p 20209 |
If necessary, I can redo the measure, this time with time before. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
Posted: Thu Jun 14, 2012 12:50 pm Post subject: |
|
|
Here's my 12-minute strace of firefox under normal usage (web browsing, kernel build):
| Code: | % time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
93.17 176.258306 2114 83382 24154 futex
6.21 11.741112 126 93483 poll
0.46 0.864871 108109 8 5 restart_syscall
0.09 0.168949 84 2023 416 munmap
0.01 0.027951 1 33235 madvise
0.01 0.026821 0 141478 92857 read
0.01 0.016885 1 16057 write
0.01 0.015050 1 24249 writev
0.01 0.014611 4 3782 getdents
0.01 0.014578 1 18414 lseek
0.01 0.009999 667 15 fsync
0.00 0.003272 1 2637 close
0.00 0.003008 3 1030 mmap
0.00 0.003000 79 38 fdatasync
0.00 0.002427 3 711 sendto
0.00 0.001622 1 2361 112 open
0.00 0.001401 4 392 socket
0.00 0.001146 0 4250 50 stat
0.00 0.001106 85 13 unlink
0.00 0.001000 0 4445 fcntl
0.00 0.000822 1 612 getsockname
0.00 0.000556 0 2702 1234 recvfrom
0.00 0.000348 0 837 60 ioctl
0.00 0.000237 0 509 104 connect
0.00 0.000217 2 121 bind
0.00 0.000110 0 483 437 getpeername
0.00 0.000086 0 388 fstat
0.00 0.000066 0 672 672 inotify_add_watch
0.00 0.000000 0 96 lstat
0.00 0.000000 0 164 rt_sigaction
0.00 0.000000 0 239 153 access
0.00 0.000000 0 128 select
0.00 0.000000 0 4 shmctl
0.00 0.000000 0 363 recvmsg
0.00 0.000000 0 101 setsockopt
0.00 0.000000 0 94 getsockopt
0.00 0.000000 0 9 clone
0.00 0.000000 0 6 uname
0.00 0.000000 0 1 semop
0.00 0.000000 0 1 semctl
0.00 0.000000 0 2 shmdt
0.00 0.000000 0 44 ftruncate
0.00 0.000000 0 15 rename
0.00 0.000000 0 2 getuid
0.00 0.000000 0 1 statfs
0.00 0.000000 0 9 sched_setscheduler
0.00 0.000000 0 18 sched_get_priority_max
0.00 0.000000 0 18 sched_get_priority_min
0.00 0.000000 0 1 1 quotactl
0.00 0.000000 0 47 sched_getaffinity
0.00 0.000000 0 9 set_robust_list
0.00 0.000000 0 1 fallocate
------ ----------- ----------- --------- --------- ----------------
100.00 189.179557 439700 120255 total |
Looks comparable. Opera has more failed socket recv's, but I don't see why that would cause this problem.
The reason I mentioned using nouveau is that maybe Opera has some multimedia feature (e.g., WebGL) that is not playing nice with the graphics stack.
Another possibility is that either Opera or glibc got upgraded in your recent world update, and you uncovered a novel incompatibility.
*shrug* _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
lalebarde Guru


Joined: 03 Sep 2006 Posts: 420 Location: France, Haute-Garonne
|
Posted: Fri Jun 15, 2012 8:26 am Post subject: |
|
|
I have unmasked opera and upgraded from 11.64.1403 to 12.00.1450
Everything works fine now.
Thanks a lot. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2760 Location: Omnipresent
|
Posted: Fri Jun 15, 2012 8:31 am Post subject: |
|
|
Great! It sucks when you web browser is the problem -- tough to live without. _________________ Personal overlay | Simple backup scheme |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|