LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-21-2010, 10:32 PM   #1
malloc
Member
 
Registered: Jul 2010
Posts: 111

Rep: Reputation: 4
High latency when starting Xfce


I have an issue with Xfce and the time it takes to spawn the programs that were executing in my saved session.

Whenever I start Xfce, the window manager will proceed to restore my saved session, but this can take 10 seconds, sometimes 15 or more. This would have been fine if I had a slow computer, and these were demanding programs to start, but they are not, and the computer is fast.

The programs in question are a series of rxvt terminals, 7 of them, and my computer is a 4.12 GHz Core i7, 6 GiB of RAM and a Crucial CT64M225 SSD. During this latency period, there is no activity whatsoever that I can observe, the CPU usage is flat, i.e. 0% from my CPU graph module, there is no memory use fluctuations that I can see, there is no HDD activity.
It seems that the system is simply waiting for some task to complete, but I don't know what.

How can I eliminate this issue? Is this a problem that anyone else have?

I have this issue on two physical computers, one of them is a laptop, the other is a desktop, both have fast SSDs and are in general fast computers.

I use Slackware 13.1.0 on both computers, I use custom highly optimized kernels, but have the same issue with the standard kernel.
 
Old 11-21-2010, 11:07 PM   #2
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Slackware 13.1 X64 here

Hi,

I close everything before I shutdown.

But the Slack 13.1 X64 XFCE tips dialog acts like you said, high latency, way more than 20 seconds

startxfce4

I do that and then the desktop comes up extremely quickly.

3.33 GHZ Intel dual core, sata II HD, 8 GB ram, radeon HD 5450 pci-E

Once the desktop is nearly immediately up it all then sits there (like way way too long) before said tips dialog arrives on scene.

It acts like it waits for more than 20 seconds before it launches the tips dialig because the dialog springs into view quickly.

--
Alan.
 
Old 11-21-2010, 11:16 PM   #3
darkstarbyte
Member
 
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Slackware and Fedora
Posts: 234

Rep: Reputation: 2
Did you check the md5sum of the slackware 13.1.0 disk maybe thats your error. Something might be corrupt.
 
Old 11-22-2010, 02:37 AM   #4
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
When stuff like that happens with XFCE, it's usually crap in /home/yourname/.cache/session that's causing it. Log off XFCE and delete the contents of that directory. startxfce4 and open your desired programs again. Log off and see if the new saved session loads correctly.
 
Old 11-23-2010, 08:01 PM   #5
malloc
Member
 
Registered: Jul 2010
Posts: 111

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by TheRealGrogan View Post
When stuff like that happens with XFCE, it's usually crap in /home/yourname/.cache/session that's causing it. Log off XFCE and delete the contents of that directory. startxfce4 and open your desired programs again. Log off and see if the new saved session loads correctly.
Thanks for the tip, but deleting the contents of my ~/.cache directory yielded no observable effect at all. There is still the high latency associated with starting.
 
Old 11-23-2010, 08:02 PM   #6
malloc
Member
 
Registered: Jul 2010
Posts: 111

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by darkstarbyte View Post
Did you check the md5sum of the slackware 13.1.0 disk maybe thats your error. Something might be corrupt.
That is simply too unlikely that I will consider it a possibility for the time being, I will have to become truly desperate before I resort to such matters.
 
Old 11-23-2010, 09:37 PM   #7
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
The pause is most likely from console kit or polkit. What happens when you disable that and start it without it? Also may try starting the terminals in the .xinitrd file and see if that speeds up the start time. I don't have a solution but maybe some of those ideas will lead to a solution or work around.
 
Old 11-23-2010, 10:41 PM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Delays of the order you describe could be caused by network timeouts. It might be worth packet sniffing in case there are any clues in the network traffic.
 
  


Reply



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
Ndiswrapper - high latency? the1sephiroth Linux - Wireless Networking 7 08-13-2008 06:58 AM
High latency on a Dell Wireless 1390 VisezTrance Linux - Wireless Networking 3 10-16-2007 07:35 AM
ssh over high latency connections amadkow Linux - Networking 9 10-12-2007 06:37 AM
dvgrab - | mplayer - ( high latency ) Livebrain Slackware 0 10-17-2006 07:25 PM
Sound latency too high stepse Linux - Hardware 0 09-23-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration