LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-28-2011, 01:26 PM   #1
noobuser
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Rep: Reputation: 6
Speed up X session load time


Hello forum,my apologies if this is dumb question,but I need some hint.
I've made a mediacenter box with xbmc 10.0,based on Slackware 13.1, kernel 2.6.37,raid-1 with 2 sata 1Tb drives for safety.
I'm aiming to build a very super fast load time system.
I've tuned mostly everything, I think.Kernel,boot scripts and so on.My result is a boot time of around 10 seconds since lilo prompt to runlevel 3 login.Pretty good
I would like tune the X11 and XBMC loading time,where I still have to wait 15 seconds before I see xbmc screen.During the X startup, there are some pauses(no disk activity),but I don't have any idea where I can work.I've used bootchart tool,but it doesn't help for X11 load time.
I've tried preload tool too,but it's slower!!!
Is there some other trick that I could try?Or this is the best that I can obtain?I don't want buy other hardware like SSD.It's mostly a challenge with myself.
No suspend or hibernation please,it's a messy solution with Nvidia hardware,what I want it's a clean boot, faster as possible.
Thanks for your patience
 
Old 02-28-2011, 02:14 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
You should get more boost with X. I have XBMC on Ubuntu distribution, where X starting about 3 seconds.

XBMC: v10.0 (svn35648)
Xorg: v1.9.0
Ubuntu: 64bit v10.10
Kernel: v2.6.35-25-generic
Processor: AMD Athlon 2 core 4850e (max 2500MHz)
RAM: 4GB

Can you compare this with your specification? For me the main problem with speed of MediaCenter is motherboard bios startup time.

You can analyze Xorg.0.log, there is a timestamp of every step.

Last edited by eSelix; 02-28-2011 at 02:21 PM.
 
Old 02-28-2011, 02:41 PM   #3
noobuser
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 6
Thx for reply.
I have an Athlon X2 BE-4350,1900Mhz,with 2 Gb ram and a G210 pci-express card.
A thing that I want to understand is: 3 seconds with X startup and Xbmc ,or just X server ?Meanwhile I'll doublecheck my Xorg log
 
Old 02-28-2011, 02:56 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
This is time for Xorg and XBMC. I use XBMC as a client for Xorg, something like this is as my startup in place of orginal Xorg startup:
Code:
/usr/bin/xinit /usr/bin/xbmc --standalone -fs
I also does not have installed any window managers.
 
Old 02-28-2011, 03:19 PM   #5
noobuser
LQ Newbie
 
Registered: Feb 2010
Posts: 8

Original Poster
Rep: Reputation: 6
Same as me,no window manager, just X and xbmc.
My Xorg.log it's without timestamps,probably it's an Ubuntu's feature.
 
Old 03-01-2011, 03:08 PM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Your processor and RAM sounds good, as of G210 I can't compare, I am using some radeon card integrated on motherboard with open source drivers. Check the newest Xorg, if you can. I was heard that Ubuntu 10.10 got speed up of startup process, maybe by new Xorg, but it could be also by new "upstart" (replacement of "init"). I also minimized to 2 mingetty processes instead of 6 getty, but I think this is irrelevant.
 
  


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
SSH concurrent session limit and idle session time out lasygsd Linux - Newbie 3 10-30-2014 07:56 AM
Apache Load Balaning sticky session issue ganesh_gore Linux - Server 0 06-22-2010 12:20 AM
Start X server and app at boot time (or services load) time. scmbg Linux - General 5 10-15-2009 10:34 PM
how to load /etc/group settings without exiting session? fobster Linux - Newbie 4 09-14-2006 08:26 PM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM

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

All times are GMT -5. The time now is 01:12 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