1.    28 Sep 2006 #1
    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
      My System SpecsSystem Spec

  2.    28 Sep 2006 #2
    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
      My System SpecsSystem Spec

  3.    29 Sep 2006 #3
    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
      My System SpecsSystem Spec

  4.    29 Sep 2006 #4
    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
      My System SpecsSystem Spec

  5.    29 Sep 2006 #5
    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
      My System SpecsSystem Spec

  6.    03 Oct 2006 #6
    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



      My System SpecsSystem Spec

  7.    04 Oct 2006 #7
    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
      My System SpecsSystem Spec

  8.    04 Oct 2006 #8
    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



      My System SpecsSystem Spec


Similar Threads
Thread Forum
slow boot up time
hi i am experiencing some boot up problems my problem is there is quite a delay to my system booting up (ACER net-top intel atom n230 1.6ghz 2GB...
General Discussion
My boot time is very slow.
Hey, Here is my laptop specs: Asus M50vm Notebook Core2Duo 2.26GHZ 4GB RAM I have all the latest windows updates installed, including...
General Discussion
slow boot up time
hi, i am having really slow boot ups lately on my laptop. i have done things such as virus scans, defrag hhd, scan regestry with REGESTRY BOOSTER...
General Discussion
slow boot up time
I used to be able to boot up in no time. The microsoft vista "lightbar" used to scroll left to right about 5 times. Now, it scrolls 43 times. I...
General Discussion
Re: IE 7 Slow Connect Time
Just a question, not a recommendation or suggestion: Is Vista SP1 installed? Have you checked with Dell Support to see if any hardware (e.g.,...
Vista networking & sharing
Slow to start slow to shutdown..
I am running Vista x64 with SP1 on a clean install. I have been running XP. Unlike others that have posted I am finding Vista takes a tad longer to...
Vista General
Winmail is slow to start and slow to open a new window when writing a new mail
I use to use Outlook 2000 on XP and it worked well, but Outlook 2000 doesn't work on Vista so I have been trying Winmail. I can do most things...
Vista mail

Our Sites
  • Ten Forums
  • Eight Forums
  • Seven Forums
  • PC Help Forum
  • Help Me Bake
  • Site Links
  • Contact Us
  • Privacy and Cookies
  • About Us
    Windows Vista Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 03:47.
    .