| View previous topic :: View next topic |
| Author |
Message |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Fri Dec 02, 2011 5:30 am Post subject: slow system since last kernel upgrade |
|
|
seems like my compile times take longer and longer, firefox hasn't worked since version 3 and now firefox completely freezes my system forcing me to do a hard reset every time.
I have considered the possibility that it could be the result of a hardware failure but loading my rescue cd the system just flys. without X loaded my compile times still take just as long.
dmesg output shows some ugly situations as well although I havent looked at it without x running to see what the output is.
| Code: | edit: ok let me yank out pastebin since I posted way too much info
[code]
emerge --info
http://pastebin.com/h0qxa7F1
kernel config
http://pastebin.com/YdUwpqvL
make.conf
http://pastebin.com/4b25yUPU
and the ugly
DMESG
http://pastebin.com/kZB2SZKe[/code]
if anything stands out to you all let me know, thanks. |
_________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 3849 Location: Houston, Republic of Texas
|
Posted: Fri Dec 02, 2011 6:32 am Post subject: |
|
|
id start off by nuking the debugging bits from your kernel configuration
| Code: |
$ grep DEBUG configforum.txt |grep -v ^\#
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_SLUB_DEBUG=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_PNP_DEBUG_MESSAGES=y
CONFIG_AIC79XX_DEBUG_MASK=0
CONFIG_I2C_DEBUG_CORE=y
CONFIG_I2C_DEBUG_ALGO=y
CONFIG_I2C_DEBUG_BUS=y
CONFIG_HWMON_DEBUG_CHIP=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_PREEMPT=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_STACKOVERFLOW=y
|
start with that, see if you can knock those out, see how things look after.
NB: you should also check out pappy's kernel seeds. See the links in my sig _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
| Back to top |
|
 |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Fri Dec 02, 2011 8:54 pm Post subject: |
|
|
that did produce an improvement but doing an emerge still bogs the system down dramatically. never used to.
ok dunno how that happened but i just noticed make opts was set to -j4 instead of j3. fixed that and see how it goes _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| Back to top |
|
 |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Mon Dec 05, 2011 3:18 am Post subject: |
|
|
well changing it to j3 has zero effect. _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| Back to top |
|
 |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Mon Dec 05, 2011 7:27 am Post subject: |
|
|
I think I will chalk it up to an issue with portage 2.2. if you notice your system is going nuts one emerge at a time. make sure you set EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=1.5". although my emerges seem to go faster, my box is still practically unresponsive doing it.
I'm still wondering what changed so drastically with my system. and I am waiting for the text to apear on the screen as I type this because of the lag. _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| Back to top |
|
 |
Chiitoo Guru


Joined: 28 Feb 2010 Posts: 521 Location: Finland
|
Posted: Mon Dec 05, 2011 9:53 am Post subject: |
|
|
Greetings!
How is your free/used RAM situation when it starts 'lagging'?
Also, how is the Swap?
Seems a lot like what I was experiencing with certain builds when I had discovered half of my 4GiB RAM being bad, and going with just one 2GiB stick for a time with MAKEOPTS="-j7".
The amount of RAM would not be enough, and things slowed down to a crawl, until the compiling got killed due to just not having enough space to work in (depending of work, of course, sometimes it might still have finish). Lowering the -j there helped a bit, and of course this is a lot different situation but I thought I'd ask, perhaps it could lead towards something.
Just a couple of thoughts~ _________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~ |
|
| Back to top |
|
 |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Tue Dec 06, 2011 3:36 am Post subject: |
|
|
the system only has 2 gigs of ram and almost 2 gig swap
| Code: |
Draco1 chromium # free -m
total used free shared buffers cached
Mem: 2003 1835 168 0 0 865
-/+ buffers/cache: 969 1034
Swap: 1968 670 1298
|
this is just at the start of an emerge, things are fine so far
and using top here is when it gets ugly, just trying to copy and paste this was a chore and a half.
| Code: |
# top
top - 18:25:28 up 3 days, 1:23, 1 user, load average: 12.56, 13.18, 11.12
Tasks: 138 total, 1 running, 137 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 6.7%sy, 0.2%ni, 0.0%id, 92.5%wa, 0.0%hi, 0.3%si, 0.0%st
Cpu1 : 0.2%us, 7.3%sy, 0.5%ni, 0.0%id, 92.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2051928k total, 2035288k used, 16640k free, 8k buffers
Swap: 2016152k total, 581212k used, 1434940k free, 59036k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3371 dracozny 20 0 297m 29m 2056 D 4 1.5 16:30.14 kvirc4
3400 dracozny 20 0 1024m 9556 2676 D 2 0.5 4:28.09 Terminal
17386 root 35 15 417m 378m 1408 D 2 18.9 0:23.05 cc1plus
2594 root 20 0 144m 10m 3872 S 2 0.5 37:25.78 X
3377 dracozny 20 0 1063m 14m 2468 D 1 0.7 0:10.52 xfce4-screensho
17389 root 35 15 355m 315m 1684 D 1 15.7 0:19.81 cc1plus
3352 dracozny 20 0 895m 6284 2588 D 1 0.3 5:26.50 xfce4-panel
17395 root 35 15 339m 280m 596 D 1 14.0 0:14.02 cc1plus
547 root 20 0 0 0 0 S 1 0.0 1:05.90 kswapd0
17401 root 20 0 19316 556 252 R 1 0.0 0:03.95 top
30335 root 35 15 194m 87m 552 S 0 4.4 0:21.80 emerge
3316 dracozny 20 0 56616 444 284 S 0 0.0 0:45.86 xscreensaver
3322 dracozny 20 0 192m 3924 1572 S 0 0.2 5:53.76 xfwm4
3349 dracozny 20 0 938m 4740 948 S 0 0.2 0:11.42 Thunar
16096 root 20 0 0 0 0 S 0 0.0 0:03.06 kworker/0:0
3361 dracozny 20 0 780m 3676 1272 S 0 0.2 0:10.60 xfdesktop
3378 dracozny 20 0 222m 700 284 S 0 0.0 0:00.39 xfce4-settings-
3404 dracozny 20 0 803m 4552 728 S 0 0.2 0:01.49 filezilla
3615 dracozny 20 0 11884 16 0 S 0 0.0 0:00.92 operapluginclea
7922 root 20 0 0 0 0 S 0 0.0 0:16.95 kworker/1:2
16096 root 20 0 0 0 0 S 0 0.0 0:03.05 kworker/0:0
17395 root 35 15 339m 280m 384 D 0 14.0 0:13.97 cc1plus
1 root 20 0 4100 84 0 S 0 0.0 0:03.74 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.03 ksoftirqd/0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0 0.0 0:01.09 ksoftirqd/1
11 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper
15 root 0 -20 0 0 0 S 0 0.0 0:00.00 netns
262 root 20 0 0 0 0 S 0 0.0 0:00.30 sync_supers
264 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default
266 root 0 -20 0 0 0 S 0 0.0 0:00.00 kblockd
269 root 0 -20 0 0 0 S 0 0.0 0:00.00 kacpid
270 root 0 -20 0 0 0 S 0 0.0 0:00.00 kacpi_notify
271 root 0 -20 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug
391 root 20 0 0 0 0 S 0 0.0 0:00.02 khubd
507 root 0 -20 0 0 0 S 0 0.0 0:00.00 kvm-irqfd-clean
614 root 20 0 0 0 0 S 0 0.0 0:00.00 fsnotify_mark
617 root 0 -20 0 0 0 S 0 0.0 0:00.00 aio
645 root 0 -20 0 0 0 S 0 0.0 0:00.00 xfs_mru_cache
646 root 0 -20 0 0 0 S 0 0.0 0:00.00 xfslogd
647 root 0 -20 0 0 0 S 0 0.0 0:00.00 xfsdatad
648 root 0 -20 0 0 0 S 0 0.0 0:00.00 xfsconvertd
650 root 0 -20 0 0 0 S 0 0.0 0:00.00 crypto
1291 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
1294 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
1297 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
1300 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3
1303 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_4
1306 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_5
1310 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:4
1311 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:5
|
_________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| Back to top |
|
 |
dracozny Tux's lil' helper

Joined: 04 May 2004 Posts: 77
|
Posted: Tue Dec 06, 2011 3:39 am Post subject: |
|
|
lack of memory is an issue I seem to be dealing with on a webserver I am running, I was updating the system but emerging binutils gets to a point where the whole system just stops the emerge without error and kills my ssh connection., that box only runs 256MB.
don't worry about the server that was solved by making a larger temp swap space. _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
| 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
|
|