Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Start up time is very slow

 
 
Thread Tools Display Modes
Old 09-28-2006   #1 (permalink)
Chad Z. Hower
Guest


 

Start up time is very slow

Pentium D 960, dual core, 3.6 GHz+, RAID 0 striped high speed SATA
drives.

Its rare that something runs slow on this machine. But WCF initiation
takes 18 seconds. I can reboot XP quicker than that, in fact more than
once.

At first I thought it was an endpoint, which really worried me. I have
a need for multiple endpoints on a single machine (simulation). So I
added a second one - and to my delight the second one didnt take 18
seconds, it popped up right after the first.

Does anyone have any idea what takes 18 seconds and if I can speed it
up? Its really making debugging a chore. I dont have any code in my
init, its a simple console app derived from the standard WCF host
template.

The shell looks like this (Nothing useful to see, but to illustrate
what I mean better).

static void Start(string aURI) {
Console.WriteLine("Starting: " + aURI);
new AgentServiceHost(aURI);
Console.WriteLine(" OK");
}

static void Main(string[] args) {
Start("http://localhost:8080/x");
Start("http://localhost:8080/y");
Console.WriteLine("");
Console.WriteLine("All started");
Console.ReadLine();
}

So right away I see:
Starting http://localhost:8080/x

Then 18 seconds delay, then immediately all at once:
Ok
Starting http://localhost:8080/y
Ok

All started




--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net
Old 09-28-2006   #2 (permalink)
Chad Z. Hower
Guest


 

Re: Start up time is very slow

Chad Z. Hower wrote:
> So right away I see:
> Starting http://localhost:8080/x
>
> Then 18 seconds delay, then immediately all at once:
> Ok
> Starting http://localhost:8080/y
> Ok
>
> All started


Now that I have each one running in its own AppDomain, its 18 seconds
for each one. Start up time during debugging is horrible.


--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net
Old 09-29-2006   #3 (permalink)
Chad Z. Hower
Guest


 

Re: Start up time is very slow

Chad Z. Hower wrote:
> Now that I have each one running in its own AppDomain, its 18 seconds
> for each one. Start up time during debugging is horrible.


Actually its not 18 seconds each one, but more like 20 for first, 10
for second and so on.

I put them in a threadpool so that they would all start simulteaneously
and hopefully thus when I started 10 or so, it would take 20 seconds
and not 110. But even threadpool + app domains does not help. It still
takes just as long.



--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net
Old 09-29-2006   #4 (permalink)
Chad Z. Hower
Guest


 

Re: Start up time is very slow

Chad Z. Hower wrote:
> Its rare that something runs slow on this machine. But WCF initiation
> takes 18 seconds. I can reboot XP quicker than that, in fact more than
> once.


WCF server startup slow on W2K3 in VM
http://blogs.thinktecture.com/ingo/a...04/414684.aspx

I'm on XP and not even part of a domain, but maybe?

--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net
Old 09-29-2006   #5 (permalink)
Chad Z. Hower
Guest


 

Re: Start up time is very slow

Chad Z. Hower wrote:
> WCF server startup slow on W2K3 in VM
> http://blogs.thinktecture.com/ingo/a...04/414684.aspx
>
> I'm on XP and not even part of a domain, but maybe?


Bugger all. Thats what it is. This machine has two ethernet + wifi +
several virtual adaptors. WCF is only using one, but that is exactly
what is taking so long.

Anyone have any work arounds? I'm on XP Pro, cant make it a domain
controller and I really cant drop it from the network either.

--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net
Old 10-03-2006   #6 (permalink)
Arkady Frenkel
Guest


 

Re: Start up time is very slow

Didn't you tried to disable adapters before ?
Arkady

"Chad Z. Hower" <chad-ng@hower.org> wrote in message
news:eqJNBD74GHA.512@TK2MSFTNGP06.phx.gbl...
> Chad Z. Hower wrote:
>> WCF server startup slow on W2K3 in VM
>> http://blogs.thinktecture.com/ingo/a...04/414684.aspx
>>
>> I'm on XP and not even part of a domain, but maybe?

>
> Bugger all. Thats what it is. This machine has two ethernet + wifi +
> several virtual adaptors. WCF is only using one, but that is exactly
> what is taking so long.
>
> Anyone have any work arounds? I'm on XP Pro, cant make it a domain
> controller and I really cant drop it from the network either.
>
> --
> "Programming is an art form that fights back"
> http://www.KudzuWorld.com/
> Need a professoinal technical speaker at your event? See www.woo-hoo.net



Old 10-04-2006   #7 (permalink)
Chad Z. Hower
Guest


 

Re: Start up time is very slow

Arkady Frenkel wrote:
> Didn't you tried to disable adapters before ?


I cant - I need this machine to be on the internet. Besides I did a TCP
spy and its only using one adaptor, the main one.

--
"Programming is an art form that fights back"
http://www.KudzuWorld.com/
Need a professional technical speaker at your event? See www.woo-hoo.net
Old 10-04-2006   #8 (permalink)
Arkady Frenkel
Guest


 

Re: Start up time is very slow

Hi, Chad!
"Chad Z. Hower" <chad-ng@hower.org> wrote in message
news:uohq6d45GHA.4116@TK2MSFTNGP03.phx.gbl...
> Arkady Frenkel wrote:
>> Didn't you tried to disable adapters before ?

>


That proposition for tests only.
> I cant - I need this machine to be on the internet. Besides I did a TCP
> spy and its only using one adaptor, the main one.
>

Sure, only one used due to route table ( IP of route with less metric - you
can check which with "route print" command in dos box routing ). For me it
always take few seconds ( up to 3-5 ) but not 18 ( but I'm in domain ) both
on IIS or as selfhost. Did you tried to add to domain ( temporarily ) to see
the difference ?
Arkady

> --
> "Programming is an art form that fights back"
> http://www.KudzuWorld.com/
> Need a professional technical speaker at your event? See www.woo-hoo.net



 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: IE 7 Slow Connect Time PA Bear [MS MVP] Vista networking & sharing 7 07-10-2008 06:48 PM
Slow to start slow to shutdown.. speedracer Vista General 2 04-06-2008 10:36 PM
Slow boot time in Vista x64 otaku General Discussion 0 02-06-2008 07:50 PM
Vista slow boot time TuxEdu Vista General 2 10-04-2007 06:36 PM
Winmail is slow to start and slow to open a new window when writing a new mail Peter GODDARD Vista mail 1 09-27-2007 05:06 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50