LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-27-2012, 09:04 AM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Rep: Reputation: 23
Sluggish performance with Slackware64 14.0


I've upgraded from Slackware64 13.37 to 14.0 and while everything was good in the previous version, 14.0 seems a bit more sluggish than usual. As user, Midnight Commander would load up instantly on 13.37. With 14.0 however, it takes a good 5+ seconds after issuing the command before Midnight Commander actually starts up. I've tried wiping out the config file for mc in ~/.config/mc, but no change.

Also last night as I wanted to change folders within KMail it took maybe 8+ seconds before it successfully moved from the current folder to the one I clicked on. During that waiting stage KMail looked like it had locked up as it wouldn't do anything.

Anyone else witnessing this or have any suggestions?
 
Old 11-27-2012, 09:29 AM   #2
KeithE
Member
 
Registered: Jan 2003
Location: Phoenix, AZ
Distribution: Mint, Slackware
Posts: 88

Rep: Reputation: 19
Re: Sluggish performance with Slackware64 14.0

How much RAM and what processor do you have? I found that, on my very-low-end 64-bit Zotac ZBox and Acer Revo 1610 nettops with 2 Gb and 1 Gb RAM respectively, 32-bit Slackware 14 was much faster than 64-bit Slackware 14. This was especially true when running XFCE (KDE was too slow to bother with on both boxes).
 
Old 11-27-2012, 10:26 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I have benchmarked both versions and 14.0 is at least as fast as 13.37 and sometimes faster (encryption).
 
Old 11-27-2012, 06:55 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Original Poster
Rep: Reputation: 23
I just switched to kernel 3.6.8 and was hoping that this sluggishness was isolated to just the user, but I tried running Midnight Commander as root and timed it. Took roughly twelve seconds from the time I pressed Enter to seeing the mc screen. My system is a notebook with 16GB of RAM and the i7-2720QM CPU, which I'm sure is more than enough to handle Midnight Commander. KDE's KMail looks to be okay again either due to the new kernel or fresh boot. I'll keep an eye out on that, but mc loading that slow is kind of annoying. Is this normal or am I only noticing it now?
 
Old 11-27-2012, 08:25 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I tried running Midnight Commander as root and timed it. Took roughly twelve seconds from the time I pressed Enter to seeing the mc screen.
This might be two different problems. I noticed on my systems that mc is opening slower than previous Slackware releases. I haven't run any actual stop watch tests. I should investigate further. I'm only adding that if we both are seeing mc open slower then using mc might not be a good barometer of overall system performance.
 
Old 11-27-2012, 10:15 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Original Poster
Rep: Reputation: 23
Not sure if this is related to mc opening slow, but in google-chrome when I attempt to download something the dialog that usually opens after clicking the link has a delay as well. The dialog itself has no delay opening, but listing the download directory's contents takes a good 3-4 seconds before listing so in the meantime I can't do anything until it's listed. I'm not sure if I'm seeing any negatives in overall system performance, just these few exceptions like mc and google-chrome. KMail previously as well, but it looks okay now for the time being.
 
Old 11-28-2012, 01:59 AM   #7
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 519

Rep: Reputation: 137Reputation: 137
mc pops up in a blink, here. 14.0 is way faster on this box than 13.37 (same hardware). Slackware14 stock + multilib, clean install.

I see this query a lot: "Why is version X slower than older version Y?" Unfortunately, I have never experienced this issue with Slackware. Except for jumping ship for SLAMD164 11 to 12.2 (I was weak for the x86_64 siren song...), Slackware always run as good or better with each release. I do not run the latest and greatest hardware.

There could be a number of reasons for sluggishess; I give a high probability to PEBKAC as the culprit. Also: check your SAMBA and/or NFS settings. Do you have a USB drive attached that has to spin up?
 
Old 11-28-2012, 08:42 PM   #8
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by kingbeowulf View Post
mc pops up in a blink, here. 14.0 is way faster on this box than 13.37 (same hardware). Slackware14 stock + multilib, clean install.

I see this query a lot: "Why is version X slower than older version Y?" Unfortunately, I have never experienced this issue with Slackware. Except for jumping ship for SLAMD164 11 to 12.2 (I was weak for the x86_64 siren song...), Slackware always run as good or better with each release. I do not run the latest and greatest hardware.

There could be a number of reasons for sluggishess; I give a high probability to PEBKAC as the culprit. Also: check your SAMBA and/or NFS settings. Do you have a USB drive attached that has to spin up?
I've disabled SAMBA, as well as NFS and still the same issue. I have tried booting off the Slackware DVD, installing the necessary packages (aaa_elflibs and mc) to test it from there and it looks fine from there... looks like it could be something with my system that's causing the delays =( One other thing to rule out is I'm using kernel 3.6.8, while the Slackware DVD uses 3.2.29... will test that out and report back.

EDIT: tried the stock 3.2.29 kernel and still no go... anyone have any suggestions other than wiping the system and starting from scratch?

Last edited by dimm0k; 11-28-2012 at 09:14 PM.
 
Old 11-28-2012, 09:27 PM   #9
SqdnGuns
Member
 
Registered: Aug 2005
Location: Fountain Valley, CA / Thailand
Distribution: Slackware64 14.0
Posts: 981

Rep: Reputation: 88
Have you run memtest or test your HDD?
 
Old 11-29-2012, 01:21 PM   #10
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by SqdnGuns View Post
Have you run memtest or test your HDD?
In my opinion it's too isolated to be a memory or HDD issue... if it were, I would be experiencing odd behavior elsewhere as well, possibly even machine lockups. Since I've upgraded from 13.1 to 13.37 to 14.0 I've decided to just backup my configs and just install 14.0 from scratch. Probably not the best approach to solve an issue, but it does feel better that I'm on a clean system anyway. I suspect it had something to do with either a corrupt or conflicting dependency because currently mc loads up snappily after the clean install and this is using my previous config files. Should this issue arise again as I put my system back together from the wipe I'll update this thread in case anyone else comes across this.
 
Old 11-29-2012, 02:04 PM   #11
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 345

Rep: Reputation: 56
maybe an strace with time stamps to see where the time is lost? May need a 13.37 measurement for comparison.
 
Old 11-29-2012, 04:17 PM   #12
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Midnight commander has a long outstanding wierdness (not a bug) if you didn't address/fix/or omit ipv6 correctly in your /etc/hosts file.
 
Old 11-29-2012, 05:26 PM   #13
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
In etc/hosts? How?
 
Old 11-29-2012, 06:28 PM   #14
fatalfrrog
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
mc might be hanging on trying to resolve your hostname (I think there's another thread around here talking about it). Add your hostname to the localhost address.
In any case, I'm sure strace will show you what's up!
 
Old 12-01-2012, 08:39 AM   #15
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Original Poster
Rep: Reputation: 23
Ok, so with the help of strace I've narrowed down the culprit! It looks like something in my /etc/rc.d/rc.firewall (using iptables) is causing the long delay... with the firewall turned off, mc starts up nice and fast. As soon as I turn it back on the delay occurs. From the looks of strace, I'm not sure why mc is making ANY attempts to contact my router's address... here's a snippet of strace

Code:
munmap(0x7f4fc77b7000, 4096)            = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, 16) = 0
poll([{fd=3, events=POLLOUT}], 1, 0)    = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\3\254\1\0\0\1\0\0\0\0\0\0\4ETH0\4home\0\0\1\0\1", 27, MSG_NOSIGNAL, NULL, 0) = 27
poll([{fd=3, events=POLLIN}], 1, 5000)  = 1 ([{fd=3, revents=POLLIN}])
ioctl(3, FIONREAD, [66])                = 0
recvfrom(3, "\3\254\205\203\0\1\0\0\0\1\0\0\4ETH0\4home\0\0\1\0\1\300\21\0\6\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, [16]) = 66
close(3)                                = 0
socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, 16) = 0
poll([{fd=3, events=POLLOUT}], 1, 0)    = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\312\203\1\0\0\1\0\0\0\0\0\0\4ETH0\0\0\1\0\1", 22, MSG_NOSIGNAL, NULL, 0) = 22
poll([{fd=3, events=POLLIN}], 1, 5000)  = 1 ([{fd=3, revents=POLLIN}])
ioctl(3, FIONREAD, [22])                = 0
recvfrom(3, "\312\203\201\2\0\1\0\0\0\0\0\0\4ETH0\0\0\1\0\1", 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, [16]) = 22
close(3)                                = 0
if anyone knows what's going on or need more from strace, let me know. In the meantime I'm going to see if I can pinpoint where in my firewall it's stopping at...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE4... Why the sluggish performance? Gullible Jones Linux - Desktop 7 05-05-2011 11:06 PM
(ubuntu 9.10) XP in virtualbox, sluggish performance Michio Linux - Software 1 01-07-2010 09:34 PM
sluggish and poor performance from ATI Mobility P/M with Kubuntu 7.04 Jay Jay Linux - Laptop and Netbook 4 08-31-2007 09:44 PM
Very sluggish performance bene223 Linux - Newbie 21 06-27-2006 12:46 AM
Sluggish performance w/ RH 7.3 theonlylivinggo Linux - Newbie 0 02-15-2004 08:13 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration