Re: very slow Xorg and/or bash

2014-02-26 Thread Morel Bérenger
Le Mer 26 février 2014 7:54, Danny a écrit :
 Hi,


 I think you are looking for the answer in the wrong place.


 Remember that Xorg is totally network aware. When it starts up, it checks
 your hostname and resolv.conf file. A bad configuration of these two will
 slow Xorg down considerably.

 The reason I say this is because very recently (last week or so) I ran
 into a few problems with DNS, and whenever I misconfigured one of these
 files Xorg would take up to 15 seconds and sometimes even more to start.
 Also, I had
 slow logins with terminals. Properly configuring these two files rectified
 the problem.

 Hope it helps


 Danny

I have found the reason behind this slowness, and I now feel quite stupid.
My bash version was upgraded into 4.3~rc2-1. I downgraded it back to
4.2+dfsg-1, which solved the problem. I have no clue about the differences
between the current bash version and the next one, but one thing now seems
obvious: there are terrible performance problems, probably due to a bug.
Now, I have to find how and where to report this problem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/087713de2d364f077c401525a3778085.squir...@www.sud-ouest.org



Re: very slow Xorg and/or bash

2014-02-26 Thread Morel Bérenger
Le Mer 26 février 2014 20:48, Morel Bérenger a écrit :
 Le Mer 26 février 2014 7:54, Danny a écrit :

 Hi,



 I think you are looking for the answer in the wrong place.



 Remember that Xorg is totally network aware. When it starts up, it
 checks your hostname and resolv.conf file. A bad configuration of these
 two will slow Xorg down considerably.

 The reason I say this is because very recently (last week or so) I ran
 into a few problems with DNS, and whenever I misconfigured one of these
 files Xorg would take up to 15 seconds and sometimes even more to
 start. Also, I had
 slow logins with terminals. Properly configuring these two files
 rectified the problem.

 Hope it helps



 Danny


 I have found the reason behind this slowness, and I now feel quite
 stupid. My bash version was upgraded into 4.3~rc2-1. I downgraded it
 back to 4.2+dfsg-1, which solved the problem. I have no clue about the
 differences between the current bash version and the next one, but one
 thing now seems obvious: there are terrible performance problems, probably
 due to a bug. Now, I have to find how and where to report this problem.



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org Archive:
 https://lists.debian.org/087713de2d364f077c401525a3778085.squir...@www.su
 d-ouest.org



For information, here is the reason of that slowness: debugging
informations are included in this release.
Sadly, I can not contribute to testing, since terminals, and so bash, are
how I do most of my actions on my system, and having it that slow makes
the system almost unusable.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/01c111c6f671d0eab3c87cd144182174.squir...@www.sud-ouest.org



Re: very slow Xorg and/or bash

2014-02-25 Thread Danny
Hi,

I think you are looking for the answer in the wrong place.

Remember that Xorg is totally network aware. When it starts up, it checks your
hostname and resolv.conf file. A bad configuration of these two will slow Xorg
down considerably.

The reason I say this is because very recently (last week or so) I ran into a
few problems with DNS, and whenever I misconfigured one of these files
Xorg would take up to 15 seconds and sometimes even more to start. Also, I had
slow logins with terminals. Properly configuring these two files rectified the
problem.

Hope it helps

Danny


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140226065445.GD4113@fever.havannah.local



very slow Xorg and/or bash

2014-02-24 Thread Morel Bérenger
Hello.

Since few days, say 4 or 5, my netbook is *really* slow when a terminal
starts. After taking a look with top, it seems that it's bash itself which
is the problem: it makes the terminal freezing for at least 15s on login,
and almost the same when using auto-completion.

There is also xorg, which uses constantly at least 10% of the CPU, if I
trust top ( at least, means that it is the minimal value ).

I have no idea about how to find the origin of the problem, this is why I
am not giving any real hint or suppositions.
I do not remember having updated anything particular ( but no doubt that I
did, otherwise I could not have such kind of constant slowness ).

I am using a testing/unstable/experimental debian, no DE.
wheezy's packages have priority 900, unstable ones only 200, except for
compilers ( Package: clang* gcc* g++* cpp* libgfortran* )
Running services are currently:
# service --status-all
 [ + ]  acpi-fakekey
 [ - ]  acpi-support
 [ + ]  acpid
 [ ? ]  alsa-utils
 [ ? ]  binfmt-support
 [ - ]  bootlogs
 [ ? ]  bootmisc.sh
 [ ? ]  checkfs.sh
 [ ? ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ - ]  console-setup
 [ - ]  cups
 [ + ]  dbus
 [ ? ]  hdparm
 [ - ]  hostname.sh
 [ ? ]  hwclock.sh
 [ - ]  kbd
 [ - ]  keyboard-setup
 [ ? ]  killprocs
 [ ? ]  kmod
 [ - ]  motd
 [ ? ]  mountall-bootclean.sh
 [ ? ]  mountall.sh
 [ ? ]  mountdevsubfs.sh
 [ ? ]  mountkernfs.sh
 [ ? ]  mountnfs-bootclean.sh
 [ ? ]  mountnfs.sh
 [ + ]  mpd
 [ ? ]  networking
 [ - ]  procps
 [ ? ]  rc.local
 [ - ]  rmnologin
 [ - ]  rsync
 [ ? ]  sendsigs
 [ - ]  ssh
 [ - ]  sudo
 [ + ]  tor
 [ + ]  udev
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  umountroot
 [ - ]  urandom
 [ + ]  wicd
 [ - ]  x11-common

Any idea about the problem? Or at least any idea about what to look for to
have one?
I suspect some bash script, but the slowness is also with root, and I did
not changed anything by hand that could affect root since at least 2
weeks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/86712e3ad1ea599954cd06dce49c2802.squir...@www.sud-ouest.org