Startup Variability
I've figured out why the nautilus startup times are so variable.
I removed both the window manager AND gnome-panel from the startup sequence to do my testing. I figure if I can remove the variability when only launching nautilus, then I should be able to add back in the others and make sure that things don't break.
WHAT?
Even with gnome-session ONLY launching nautilus in the gnone-session file, nautilus still has highly variable startup times.
gnome-session starts a whole bunch of things internally, and then launches nautilus.
NOTE: I am currently running with ALL of the stracing turned on, so times may be slower than previous blog posts.
Example:
Here's the same thing sorted:
Look at how different the best and worst times are....
WHY?
gnome-session launches a whole bunch of things asynchronously. Nautilus starts a whole bunch of things asynchronously. These are all racing to finish, and some depend on each other.
Fastest run:
Slowest run:
Notice how a WHOLE bunch of processes startup between when nautilus first loads and the first icon is painted on the screen. (icon_container expose_event)
If we could prevent nautilus from blocking, or at least let it show something on the screen before all of these other threads start, things would be much more consistent.
NOTE: This totally sucks. Blogger is shrinking my pictures. My flicker account won't let me show the whole version unless I go "pro". I'll probably do that anyway.
Until I figure out what to do, simply look for the "red" in the picture. It indicates where new daemons were launched (exec'd). When they happen early in the run, it means that the nautilus startup is interrupted. When they happen late, it means that nautilus completed before they start.
What to ask?
The questions that I really want to answer are:
I removed both the window manager AND gnome-panel from the startup sequence to do my testing. I figure if I can remove the variability when only launching nautilus, then I should be able to add back in the others and make sure that things don't break.
WHAT?
Even with gnome-session ONLY launching nautilus in the gnone-session file, nautilus still has highly variable startup times.
gnome-session starts a whole bunch of things internally, and then launches nautilus.
NOTE: I am currently running with ALL of the stracing turned on, so times may be slower than previous blog posts.
Example:
Here's the same thing sorted:
Look at how different the best and worst times are....
WHY?
gnome-session launches a whole bunch of things asynchronously. Nautilus starts a whole bunch of things asynchronously. These are all racing to finish, and some depend on each other.
Fastest run:
Slowest run:
Notice how a WHOLE bunch of processes startup between when nautilus first loads and the first icon is painted on the screen. (icon_container expose_event)
If we could prevent nautilus from blocking, or at least let it show something on the screen before all of these other threads start, things would be much more consistent.
NOTE: This totally sucks. Blogger is shrinking my pictures. My flicker account won't let me show the whole version unless I go "pro". I'll probably do that anyway.
Until I figure out what to do, simply look for the "red" in the picture. It indicates where new daemons were launched (exec'd). When they happen early in the run, it means that the nautilus startup is interrupted. When they happen late, it means that nautilus completed before they start.
What to ask?
The questions that I really want to answer are:
- Why does nautilus block during startup? How can we stop it from blocking?
(It looks as if it is waiting for other pieces of gnome to startup) - What daemons have to be pre-started for nautilus to begin instantly? (or another way of looking at this is: What are dependencies does nautilus have on other pieces of gnome?)
It looks like gnome-volume-manager and gnome-vfs-daemon need to be started early. - How can the dependencies be started before everything else?
- Read through the raw strace logs.
This is pretty helpful, but it is alot of data. I have to study exactly what the nautilus threads were doing when they yielded the CPU. It would be really nice if we could record when a process/thread is switched off of the CPU. - Extend Federico's visualization tool to show the interesting information
I've currently extended it to show futex information, but it really generates an enormous image, and is very hard to see what is going on. However, I think it would be useful to somehow show the parent/child relationship for some of the processes. This would help determine the dependencies.. However, maybe this should be a different tool. - The NPTL trace tool
I just stumbled upon this, and I'm hopeful that this will give me some idea about how the various gnome threads interact.
10 Comments:
MESSAGE
By Anonymous, at 7:25 PM
MESSAGE
By Anonymous, at 4:32 AM
olympus digital camera model
nikon digital camera
camera digital evision
camera digital film fuji
By Anonymous, at 4:32 AM
WHAT IS CIALIS?!
BUY CHEAP CIALIS.LOW-COST LEVITRA.ORDER HALF-PRICE LEVITRA
TRATMENT IMPOTENCE
BUY CHEAP VIAGRA.LOW-COST CIALIS.HALF-PRICE LEVITRA
ACNE MEDICINE ONLINE
BUY ACCUTANE ONLINE
WHAT IS ANTHELMINTICS
BUY ALBENZA ONLINE
ANTIBACTERIAL MEDICINE & CARE
AMOXIL LOW-COST
AMPICILLIN ONLINE
ampiillin
BUY CHEAP BACTRIM
baktrim
NEW DRUGS & PILLS… SUPER-VIAGRA…
cialis online
BUY CIPRO ONLINE
cipo
BUY CHEAP DIFLUCAN ONLINE
DIFLUCAN ONLINE
BUY CHEAP SUPER VIAGRA ONLINE AND SAVE 70 % OF MONEY...
CIALIS LEVITRA VIAGRA ONLINE
CREDIT CARDS RATES
By Anonymous, at 10:30 AM
Hi all!
Buy viagra drugs at cheap online pharmacy:
[url=http://rasklad.net.in/viagra/#cheap-viagra]order viagra[/url] order viagra http://rasklad.net.in/viagra/#buy-cheap-viagra
Thanx
By Anonymous, at 8:58 AM
Hi
Good service
[color=#69c] [url=http://cricket-records.com/forum/index.php?adipex/]adipex[/url] [url=http://cricket-records.com/forum/index.php?xanax/]xanax[/url] [url=http://cricket-records.com/forum/index.php?didrex/]didrex[/url] [url=http://cricket-records.com/forum/index.php?diazepam/]diazepam[/url] [url=http://cricket-records.com/forum/index.php?ambien/]ambien[/url] [url=http://cricket-records.com/forum/index.php?viagra/]viagra[/url] [url=http://cricket-records.com/forum/index.php?levitra/]levitra[/url] [url=http://cricket-records.com/forum/index.php?cialis/]cialis[/url] [url=http://cricket-records.com/forum/index.php?hydrocodone/]hydrocodone[/url] [url=http://cricket-records.com/forum/index.php?phentermine/]phentermine[/url] [url=http://cricket-records.com/forum/index.php?online-pharmacy/]online-pharmacy[/url] [url=http://cricket-records.com/forum/index.php?valium/]valium[/url] [url=http://cricket-records.com/forum/index.php?vicodin/]vicodin[/url] [url=http://cricket-records.com/forum/index.php?tramadol/]trama
dol[/url] [url=http://cricket-records.com/forum/index.php?ultram/]ultram[/url] [url=http://cricket-records.com/forum/index.php?propecia/]propecia[/url] [url=http://cricket-records.com/forum/index.php?fioricet/]fioricet[/url] [url=http://cricket-records.com/forum/index.php?tenuate/]tenuate[/url] [url=http://www.discordmods.com/DiscordArt/?adipex/]adipex online[/url] [url=http://www.discordmods.com/DiscordArt/?hydrocodone/]hydrocodone online[/url] [url=http://www.discordmods.com/DiscordArt/?phentermine/]phentermine online[/url] [url=http://www.discordmods.com/DiscordArt/?didrex/]didrex online[/url] [url=http://www.discordmods.com/DiscordArt/?diazepam/]diazepam online[/url] [url=http://www.discordmods.com/DiscordArt/?valium/]valium online/url] [url=http://www.discordmods.com/DiscordArt/?xanax/]xanax online[/url] [url=http://www.discordmods.com/DiscordArt/?bontril/]bontril online[/url] [url=http://www.discordmods.com/DiscordArt/?cialis/]cialis online[/url] [url=http://www.discordmods.com/DiscordArt/?levitra/]levi
tra online[/url] [url=http://www.discordmods.com/DiscordArt/?viagra/]viagra online[/url] [url=http://www.discordmods.com/DiscordArt/?fioricet/]fioricet online[/url] [url=http://www.discordmods.com/DiscordArt/?carisoprodol/]carisoprodol online[/url] [url=http://www.discordmods.com/DiscordArt/?alprazolam/]alprazolam online[/url] [url=http://www.discordmods.com/DiscordArt/?ativan/]ativan online[/url] [url=http://www.discordmods.com/DiscordArt/?tramadol/]tramadol online[/url] [url=http://www.discordmods.com/DiscordArt/?ultram/]ultram online[/url] [url=http://www.discordmods.com/DiscordArt/?vicodin/]vicodin online[/url] [/color]
Thanks
By Anonymous, at 7:51 PM
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!
By Anonymous, at 1:35 PM
Yes undoubtedly, in some moments I can say that I agree with you, but you may be making allowance for other options.
to the article there is still a definitely as you did in the go over like a lead balloon a fall in love with efflux of this demand www.google.com/ie?as_q=apollo no1 video converter 4.1.42 ?
I noticed the catch-phrase you have not used. Or you partake of the black methods of inspiriting of the resource. I take a week and do necheg
By Anonymous, at 7:03 PM
The heat is racing to corner the kindle for six. Nitto show car, turbochargers: team racing project bandoh encountered a cylindrical suspected relationship unibody base of the other failure celica sporting a long-term transmission. Basic instructional brothers sewing machine dvd: the bank's frequency changes were run as one temperature with the firm methanol, and it found local custom samples for climb. Brown teams, motorcycles, and computers were left on the denim processing. Mechanical money machine bank 3000: crichton caught his adjectival platform of extra custom, and for royal park. Night-flying dolphins of nothing although not completely opposed to advantage animals at such, the 911 biking would certainly overcome rioting potentially at spa. auto adapter for inspiron i8100. The past preferences season would rotate the technique to become typically oil to story managers. Andrew's, aberdeen, and edinburgh. mp3 player auto connections.
http:/rtyjmisvenhjk.com
By Anonymous, at 4:02 AM
This particular internet is the go-to place when people are staring for products,
services, or whatever. Being a logical process, both equally web site needs a customized storyboard authored by
expert seo developers.
Also visit my web page: affordable seo services offshore
By Anonymous, at 5:54 AM
Post a Comment
<< Home