.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

CPU is not 100% utilized

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :WPF


I implemented a windows service which is slow. It doesn't actually surprise me considering the amount of work it does (see below) but confusing is that CPU utilization is always somewhere between 55% and 80% and almost newer reaches 100%.

The customer complains about performance and I'm going to recommended to increase the number of CPUs  but have some doubts that it might not help. Also I will be probably asked why to increase the number of CPUs if the available two are not 100% loaded.


Here are details:


 A windows service runs on virtual server (VMWare) with two CPUs and 8GB memory and Windows Server 2008 64 bit.

.Net Framework version 4.0

It is a kind of crawler and runs tasks which are independent of each other. Each tasks runs in separate thread (normal thread pooling is used).

Each tasks consists of following steps:

1. Request a web page using HttpWebRequest

2. Parse retrieved HTML with Regex

3. Save result to SqlServer database (runs on separate box)


When the number of the above tasks executing simultaneously exceeds 100, everything slows down even though that CPU is not overloaded.

What I find interesting that even time between calling ThreadPool.QueueUserWorkItem() and actual start o

View Complete Post

More Related Resource Links

Object Cache: The super user account utilized by the cache is not configured. This can increase the

Hi im having the following error in the windows event viewer Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.  To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.  Additional Data:  Current default super user account: SHAREPOINT\system after this the computer starts working slowly and slowly The account that the log shows is the aplication pool account of the first site collection I created   I followed the instrucctions in this link: http://technet.microsoft.com/en-us/library/ff758656.aspx I set new accounts to the superuser and super reader I also tried using the same account that the first error showed has superuser and super reader However  I always get this error when I try to access the Site Collection after performing this The user does not exist or is not unique.<nativehr>0x81020054</nativehr><nativestack></nativestack> In the sharepoint log I get this same error plus this Could not get token super user token, reverting to system account.&

Create SQL Login that utilized Active Directory

Hello SQL Guru, I’m newbie to create SQL Login that utilized Active Directory. I have a SQL Server 2008 Enterprise edition 64-bits that runs in Window Server 2008 R2 Standard Edition 64-bit operating Systems. I configured  the SQL Server 2008 with Window Authentication. Then, I login with built-in Administrator account into computer and connected to my SQL Server 2008.  e.g: Object Explorer displayed COMPUTER NAME\Database Instance Name (SQL Server 10.0.2531 – COMPUTER NAME\Admin Account) Then, I created SQL login on the following: USE AccountingDatabase;GO CREATE USER  DomainName\User Name FOR LOGIN DomainName\User NameGO EXEC sp_addrolemember N’db_datareader’, N’DomainName\User Name’GO I tested it out and the specific login still did not have an access to specific database instance  e.g: “AccountingDatabase” Also, I did not see the “User Mapping” under properties checked/assigned to those specific user. Can anyone help and give me light on best practice. Thanks,Edwin

Object Cache: The super reader account utilized by the cache does not have sufficient permissions to

Hi Just created a site collection on freshly installed SP2010 server and I get this error in the even log when I created site collection ( timing could be a coincidence) Message is as bellow which does say what needs to be done but need more info on portalsuperreaderaccount account before using the suggested solution. ( Note the stsadm although) Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases. Additional Data: Current default super reader account: NT AUTHORITY\LOCAL SERVICE Regards Yogesh
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend