Performance XP versus W2003S

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UmljaEc=?=

    Performance XP versus W2003S

    I have an application written in VB.NET (Visual Studio 2003 and Framework 1.1
    SP1).

    When it runs on an XP machine it takes a few seconds. Running the same code
    with the same data on a Windows 2003 Server machine it takes over 3 times
    longer. The spec of the machines is identical and both are not running
    anything else.

    The code does nothing special and uses standard VB. It does manipulate
    collections of class objects but I don't know if that is of any significance.

    Has anyone any experience of similar issues? What can cause it and how do
    you cure it?
  • Michel Posseth [MCP]

    #2
    Re: Performance XP versus W2003S

    Strange that no one answered this question until sofar as the answer is
    pretty obvious

    Your program is written as an application XP gives standard priority to user
    applications a server operating system on the other hand is specially
    configured to run background services
    so all priority is given to background services and not to running
    applications

    You can do 2 things

    1. reconfigure the server so that it will give prio to applications instead
    of background services
    2. rewrite your program so that it runs in a service context

    By the way same thing happens the other way around SQL server , IIS etc etc
    responds much faster on a Windows server machine however you can reconfigure
    XP to so that it gives prio to background services

    Configuration screen , System , Advanced Tab , Top most option

    HTH

    Michel Posseth [MCP]



    "RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
    news:E21D511D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
    >I have an application written in VB.NET (Visual Studio 2003 and Framework
    >1.1
    SP1).
    >
    When it runs on an XP machine it takes a few seconds. Running the same
    code
    with the same data on a Windows 2003 Server machine it takes over 3 times
    longer. The spec of the machines is identical and both are not running
    anything else.
    >
    The code does nothing special and uses standard VB. It does manipulate
    collections of class objects but I don't know if that is of any
    significance.
    >
    Has anyone any experience of similar issues? What can cause it and how do
    you cure it?

    Comment

    • =?Utf-8?B?UmljaEc=?=

      #3
      Re: Performance XP versus W2003S

      Tried changing the configuration but it did not solve the problem. If
      anything it made things worse, average time without change 12.1 sec, with
      change 12.3 secs.

      Any other thoughts?

      "Michel Posseth [MCP]" wrote:
      Strange that no one answered this question until sofar as the answer is
      pretty obvious
      >
      Your program is written as an application XP gives standard priority to user
      applications a server operating system on the other hand is specially
      configured to run background services
      so all priority is given to background services and not to running
      applications
      >
      You can do 2 things
      >
      1. reconfigure the server so that it will give prio to applications instead
      of background services
      2. rewrite your program so that it runs in a service context
      >
      By the way same thing happens the other way around SQL server , IIS etc etc
      responds much faster on a Windows server machine however you can reconfigure
      XP to so that it gives prio to background services
      >
      Configuration screen , System , Advanced Tab , Top most option
      >
      HTH
      >
      Michel Posseth [MCP]
      >
      >
      >
      "RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
      news:E21D511D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
      I have an application written in VB.NET (Visual Studio 2003 and Framework
      1.1
      SP1).

      When it runs on an XP machine it takes a few seconds. Running the same
      code
      with the same data on a Windows 2003 Server machine it takes over 3 times
      longer. The spec of the machines is identical and both are not running
      anything else.

      The code does nothing special and uses standard VB. It does manipulate
      collections of class objects but I don't know if that is of any
      significance.

      Has anyone any experience of similar issues? What can cause it and how do
      you cure it?
      >
      >
      >

      Comment

      • Michel Posseth [MCP]

        #4
        Re: Performance XP versus W2003S

        Go to Control Panel , System , Advanced , Performance Settings , Advanced

        tab. Change Processor scheduling to Programs

        and lastly, change Memory usage to Programs. Now click on OK.

        On equal hardware , with the same services running with equal load and the
        above switches equal to XP, Windows 2003 should outperform Windows XP easy
        are you sure the windows 2003 server isn`t running IIS , SQL or whatever on
        the background ??



        HTH



        Michel






        "RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
        news:12C61BD8-4393-4ABE-A3BF-B7054CF7719E@mi crosoft.com...
        Tried changing the configuration but it did not solve the problem. If
        anything it made things worse, average time without change 12.1 sec, with
        change 12.3 secs.
        >
        Any other thoughts?
        >
        "Michel Posseth [MCP]" wrote:
        >
        >Strange that no one answered this question until sofar as the answer is
        >pretty obvious
        >>
        >Your program is written as an application XP gives standard priority to
        >user
        >applications a server operating system on the other hand is specially
        >configured to run background services
        >so all priority is given to background services and not to running
        >applications
        >>
        >You can do 2 things
        >>
        >1. reconfigure the server so that it will give prio to applications
        >instead
        >of background services
        >2. rewrite your program so that it runs in a service context
        >>
        >By the way same thing happens the other way around SQL server , IIS etc
        >etc
        >responds much faster on a Windows server machine however you can
        >reconfigure
        >XP to so that it gives prio to background services
        >>
        >Configuratio n screen , System , Advanced Tab , Top most option
        >>
        >HTH
        >>
        >Michel Posseth [MCP]
        >>
        >>
        >>
        >"RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
        >news:E21D511 D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
        >I have an application written in VB.NET (Visual Studio 2003 and
        >Framework
        >1.1
        SP1).
        >
        When it runs on an XP machine it takes a few seconds. Running the same
        code
        with the same data on a Windows 2003 Server machine it takes over 3
        times
        longer. The spec of the machines is identical and both are not running
        anything else.
        >
        The code does nothing special and uses standard VB. It does manipulate
        collections of class objects but I don't know if that is of any
        significance.
        >
        Has anyone any experience of similar issues? What can cause it and how
        do
        you cure it?
        >>
        >>
        >>

        Comment

        • =?Utf-8?B?UmljaEc=?=

          #5
          Re: Performance XP versus W2003S

          Thanks for your suggestions, tried it but still performance 3 times longer on
          W2003S.

          Both the XP and W2003S machines have IIS running (V5.1 on XP and 6 on
          W2003S). Both running with whatever default setting are for IIS.

          Should I change IIS settings?

          "Michel Posseth [MCP]" wrote:
          Go to Control Panel , System , Advanced , Performance Settings , Advanced
          >
          tab. Change Processor scheduling to Programs
          >
          and lastly, change Memory usage to Programs. Now click on OK.
          >
          On equal hardware , with the same services running with equal load and the
          above switches equal to XP, Windows 2003 should outperform Windows XP easy
          are you sure the windows 2003 server isn`t running IIS , SQL or whatever on
          the background ??
          >
          >
          >
          HTH
          >
          >
          >
          Michel
          >
          >
          >
          >
          >
          >
          "RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
          news:12C61BD8-4393-4ABE-A3BF-B7054CF7719E@mi crosoft.com...
          Tried changing the configuration but it did not solve the problem. If
          anything it made things worse, average time without change 12.1 sec, with
          change 12.3 secs.

          Any other thoughts?

          "Michel Posseth [MCP]" wrote:
          Strange that no one answered this question until sofar as the answer is
          pretty obvious
          >
          Your program is written as an application XP gives standard priority to
          user
          applications a server operating system on the other hand is specially
          configured to run background services
          so all priority is given to background services and not to running
          applications
          >
          You can do 2 things
          >
          1. reconfigure the server so that it will give prio to applications
          instead
          of background services
          2. rewrite your program so that it runs in a service context
          >
          By the way same thing happens the other way around SQL server , IIS etc
          etc
          responds much faster on a Windows server machine however you can
          reconfigure
          XP to so that it gives prio to background services
          >
          Configuration screen , System , Advanced Tab , Top most option
          >
          HTH
          >
          Michel Posseth [MCP]
          >
          >
          >
          "RichG" <RichG@discussi ons.microsoft.c omschreef in bericht
          news:E21D511D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
          I have an application written in VB.NET (Visual Studio 2003 and
          Framework
          1.1
          SP1).

          When it runs on an XP machine it takes a few seconds. Running the same
          code
          with the same data on a Windows 2003 Server machine it takes over 3
          times
          longer. The spec of the machines is identical and both are not running
          anything else.

          The code does nothing special and uses standard VB. It does manipulate
          collections of class objects but I don't know if that is of any
          significance.

          Has anyone any experience of similar issues? What can cause it and how
          do
          you cure it?
          >
          >
          >
          >
          >
          >

          Comment

          • Smokey Grindel

            #6
            Re: Performance XP versus W2003S

            When you say identical do you mean even the processor is exactly the same?
            because remember processors that look the same are not always the same... a
            1.8GHz Xeon processor from a few years ago is DRASTICALLY slower then a new
            1.8GHz Xeon processor in the E5xxx range... also is the memory speed the
            same? CAS latency the same? all kinda issues to look at here


            "RichG" <RichG@discussi ons.microsoft.c omwrote in message
            news:E21D511D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
            >I have an application written in VB.NET (Visual Studio 2003 and Framework
            >1.1
            SP1).
            >
            When it runs on an XP machine it takes a few seconds. Running the same
            code
            with the same data on a Windows 2003 Server machine it takes over 3 times
            longer. The spec of the machines is identical and both are not running
            anything else.
            >
            The code does nothing special and uses standard VB. It does manipulate
            collections of class objects but I don't know if that is of any
            significance.
            >
            Has anyone any experience of similar issues? What can cause it and how do
            you cure it?

            Comment

            • Cor Ligthert[MVP]

              #7
              Re: Performance XP versus W2003S


              "Michel Posseth [MCP]" <msnews@posseth .comschreef in bericht
              news:eXIxWbvoIH A.5916@TK2MSFTN GP04.phx.gbl...
              Strange that no one answered this question until sofar as the answer is
              pretty obvious
              Can it be because it has not much to do with the VB.Net language and Rich
              did not write that he got no answer after trying in a more properiate
              newsgroup?

              :-)

              Cor

              Comment

              • =?Utf-8?B?UmljaEc=?=

                #8
                Re: Performance XP versus W2003S

                Please suggest a more appropriate newsgroup

                "Cor Ligthert[MVP]" wrote:
                >
                "Michel Posseth [MCP]" <msnews@posseth .comschreef in bericht
                news:eXIxWbvoIH A.5916@TK2MSFTN GP04.phx.gbl...
                Strange that no one answered this question until sofar as the answer is
                pretty obvious
                >
                Can it be because it has not much to do with the VB.Net language and Rich
                did not write that he got no answer after trying in a more properiate
                newsgroup?
                >
                :-)
                >
                Cor
                >

                Comment

                • =?Utf-8?B?UmljaEc=?=

                  #9
                  Re: Performance XP versus W2003S

                  As far as I can tell the two machines are identical apart from the OS and the
                  IIS Version. They were both ordered from the same place on the same day and
                  look identical in all the Properties Windows.

                  Any suggestions welcome

                  "Smokey Grindel" wrote:
                  When you say identical do you mean even the processor is exactly the same?
                  because remember processors that look the same are not always the same... a
                  1.8GHz Xeon processor from a few years ago is DRASTICALLY slower then a new
                  1.8GHz Xeon processor in the E5xxx range... also is the memory speed the
                  same? CAS latency the same? all kinda issues to look at here
                  >
                  >
                  "RichG" <RichG@discussi ons.microsoft.c omwrote in message
                  news:E21D511D-F9B1-455A-A9B0-E0B285CD5A25@mi crosoft.com...
                  I have an application written in VB.NET (Visual Studio 2003 and Framework
                  1.1
                  SP1).

                  When it runs on an XP machine it takes a few seconds. Running the same
                  code
                  with the same data on a Windows 2003 Server machine it takes over 3 times
                  longer. The spec of the machines is identical and both are not running
                  anything else.

                  The code does nothing special and uses standard VB. It does manipulate
                  collections of class objects but I don't know if that is of any
                  significance.

                  Has anyone any experience of similar issues? What can cause it and how do
                  you cure it?
                  >
                  >
                  >

                  Comment

                  Working...