Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN poor localhost performanceDNN poor localhost performance
Previous
 
Next
New Post
3/14/2007 6:47 PM
 

I run my production site using Godaddy's shared hosting.  I backup my site and restore it on my localhost - A Athalon 64 X2 4200 system with 1GB of memory using SQL Express.

My localhost runs all applications except DNN (locally) quite quickly. However, my localhost DNN site runs at 1/10 the speed of the same site at GoDaddy where I am probably sharing the system with 1000 others

I am running WindowsXP with SP2 and the rest of the automatic patches. I run DNN via IIS 5.0 not Visual Studio Express and its strange web server.

I have run virus scans, spyware scans tweaked msconfig etc, but the problem appears to be DNN/IIS or MS SQL Express. 

Any ideas?  Anybody have a similar problem? Better yet anybody got a solution?

/DaveS


/Dave S
 
New Post
3/15/2007 1:02 AM
 
Is the localhost version accessing any resources in the hosted environment? E.g. images, etc. via full URLs. These will probably remain as is when copied locally and hence still point to the hosted site, and may make the site run slow.
 
New Post
3/15/2007 10:03 AM
 

David:

Jeff presents a very good point that I did not think about.  But I just wanted to tell you about my recent experience.

I have been doing development on my Toshiba M200 TabletPC, mostly at the desk with the docking station.  The Tablet has a 1.5GHz CPU, 1GB of Ram, and a 7,200 RPM disk.  I am still using DNN 4.3.5 for development and testing with VS 2005.  It has been working fine but I have always been annoyed when logging in as admin in DNN because the graphics at the top would take forever to load one by one, same with the icons in the admin menu.  I did some research on this in the past and the performance hit is caused by a limitation in the TCPIP.sys component in Windows XP (it is not caused by the limited number of connections in IIS by the way, as some people believe).  This cannot be adjusted by the user  There are some documented hacks out there where the file is edited but I did not want to fool with it that way.

To make the story short, my machine started working super fast even when logging in as Admin.  I have deleted the file cache, closed the browser, rebooted, and it is still insanely fast.  I noticed this a couple of weeks ago and still cannot find exactly why the performance improved all of a sudden.  Notice that the first time I run DNN is still slow, there is no way around that, but after the application is loaded, subsequent calls are very fast.

The "only" changes I have made lately are:  Installed the VS 2005 SP1, which is huge.  Also attempted to apply the SP2 to SQL Server 2005 Express with the Advanced Services, it did not work well and I had to remove SQL and reinstall from scratch, with the SP2 package.  I also defragmented the disk with the full Diskeeper package.  But I would not think that any of these things would change the issue with TCPIP.sys.

The only thing I can think of is that since Microsoft changed its policy on how to provide IIS in Windows Vista (basically no limitations in functionality) they may have retrofit that policy for developers still using XP.

If you use a laptop (or even some desktops) check to make sure that your CPU is running at full speed.  Sometimes even when connected to AC power some machines have problems managing the CPU speed and don't step it up to full speed properly.  This happened to some Toshiba laptops. 

I don't know if this will help you but it is interesting in my opinion.

Carlos

 

 
New Post
3/15/2007 12:31 PM
 

Just some notes:

  1. The only images are from the skin and should be local.  But I do wish DNN would be better about creating relative links or giving you the choice (Wish list item - hint hint)
  2. I don't now why VS2005 would make a difference, since it shouldn't even be required. I do have VWD Express installed and might try de-installing it.
  3. The disk is defraged every day or two and has 100Gb of free space.
  4. I didn't realize that WindowsXP's IIS was "hobbled" - maybe that is the real issue.
  5. DNN even show missing file icons for many of its icons the first page or two until they all get in the browsers cache.

/Dave S
 
New Post
3/15/2007 1:47 PM
 

Dave:

Something you may want to try is the following commands to increase the number of connectoins in IIS (default is 10, can go up to 40 in IIS 5.1 in XP).

Go to a DOS window, then:
C:
cd \inetpub\adminscripts
cscript adsutil.vbs get w3svc/MaxConnections
cscript adsutil.vbs set w3svc/MaxConnections 40
cscript adsutil.vbs get w3svc/MaxConnections
iisreset
cscript adsutil.vbs get w3svc/MaxConnections


You may also want to read this: http://phex.org/mambo/content/view/49/33/

The commands above are safe but I must give you the standard disclaimer, try at your own risk.

Carlos

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN poor localhost performanceDNN poor localhost performance


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out