473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hyperthreading slows down server

Hi Guys,

We just deployed our asp.net application on Xeon dual processor with
Hyperthreading turned on. OS Windows 2003 (Web Edition) .NET Framework
1.1

While stress testing with 1 wp, we get better throughput/RPS then with
enabling webGarden - 4 wps. Multiple worker processors with
Hyperthreading turned on gives approx. half the performance compared to
1 wp. As per my understanding results should be vice-versa.

Anybody having any information please let me know.

Thanks in advance.

-JA

Dec 8 '05 #1
3 1456
this is correct. web gardens give greater stability at a performance cost.
this is because scheduling threads is cheaper than scheduling processes, and
thread context switches are cheaper than process context switches. also web
gardens are harder on the cpu caches (more cache misses).
-- bruce (sqlwork.com)

<ja*****@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi Guys,

We just deployed our asp.net application on Xeon dual processor with
Hyperthreading turned on. OS Windows 2003 (Web Edition) .NET Framework
1.1

While stress testing with 1 wp, we get better throughput/RPS then with
enabling webGarden - 4 wps. Multiple worker processors with
Hyperthreading turned on gives approx. half the performance compared to
1 wp. As per my understanding results should be vice-versa.

Anybody having any information please let me know.

Thanks in advance.

-JA

Dec 8 '05 #2
Web gardens provide scalability increases for applications that have a
lot of resource contentions, like application locks and pages with
aspcompat="true". Anything else can be hit or miss.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On 8 Dec 2005 13:12:16 -0800, ja*****@gmail.com wrote:
Hi Guys,

We just deployed our asp.net application on Xeon dual processor with
Hyperthreading turned on. OS Windows 2003 (Web Edition) .NET Framework
1.1

While stress testing with 1 wp, we get better throughput/RPS then with
enabling webGarden - 4 wps. Multiple worker processors with
Hyperthreading turned on gives approx. half the performance compared to
1 wp. As per my understanding results should be vice-versa.

Anybody having any information please let me know.

Thanks in advance.

-JA


Dec 9 '05 #3
On Thu, 8 Dec 2005 15:31:31 -0800, "Bruce Barker"
<br******************@safeco.com> wrote:
this is correct. web gardens give greater stability at a performance cost.
this is because scheduling threads is cheaper than scheduling processes, and
thread context switches are cheaper than process context switches. also web
gardens are harder on the cpu caches (more cache misses).


What does a "process contex switch" mean in Windows? How does giving a
process processor affinity cause more cache misses?

--
Scott
http://www.OdeToCode.com/blogs/scott/
Dec 9 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BlackHawke | last post by:
Hello! I have a java application (a game) which is supposed to run as a server. It is on a dedicated machine with MP capabilities, but currently running 1 Xeon processor with hyperthreading. ...
5
by: Garry Hodgson | last post by:
a colleague of mine has seen an odd problem in some code of ours. we initially noticed it on webware, but in distilling a test case it seems to be strictly a python issue. in the real system, it...
4
by: Firdousi Farozan Z | last post by:
Hi All, I have a Java multithreaded application, that makes several JNI calls (native code written in C++). I use database locks all through the C++ code for synchronization. With...
0
by: GeorgeB | last post by:
HI, I created an ASP.NET application which runs on win 2003 server and IIS6 with hyperthreading enabled. I keep getting the following error: Path: /Login.aspx. Source: System.Web at...
1
by: joerg | last post by:
Hello, we investigated a performance-drop while using DB2 V8.1 on a Linux-Server (SuSE - SLES) and Hyperthreading activated. (Dual XEON 2.4 2GB) The intraparallel-option is set and the client...
8
by: Andrew Maclean | last post by:
Does VC7.1 support hyperthreading? I looked in the documentation but I could find no reference at all.
6
by: Param - Home | last post by:
Hi all, we are in the process of getting a new server and wanted to know whether it is worth getting a dual cpu or just a single cpu like a p4 3ghz with hyperthreading? How does asp.net web...
9
by: cow3 | last post by:
Is there anyone who can help me with this: I have written a fairly complicated vb application of hydrological model that does a lot of number crunching. The model creates a set of object...
1
by: Jose Walker | last post by:
Hi there, I've an ASP.NET 2 web application that I want to publish, but it happened that the application slows down in performance compared with the version managed by VS.NET 2005. When the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.