Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: DirtRider on May 05, 2009, 09:48:03 AM

Title: RC1 forum slow
Post by: DirtRider on May 05, 2009, 09:48:03 AM
Ever since we have upgraded to RC1 I have some of my member complaining that the forum is so slow compared to what it was. These member are using Firefox  ??? I am at a total loss as what I can do about this issue as the page load time seems to be ok but the actual load time in FF is slow
Title: Re: RC1 forum slow
Post by: DirtRider on May 06, 2009, 11:59:57 PM
Any ideas on this anyone  :'(
Title: Re: RC1 forum slow
Post by: Something like that on May 07, 2009, 12:57:54 AM
What version did you upgrade from? So the page generation time is good? (Sub 300 ms?)

What pages are slow? All of them? Or just some?
Title: Re: RC1 forum slow
Post by: DirtRider on May 07, 2009, 01:32:51 AM
Upgraded from 1.1.8 the page creation time is around "Page created in 0.233 seconds with 34 queries.". The whole forum is being reported as slow but only by some members using FireFox. This only started when FF upgraded together with this popup issue http://www.simplemachines.org/community/index.php?topic=293422.0 (http://www.simplemachines.org/community/index.php?topic=293422.0). SO this is an issue with FF and SMF. We have tried disabling all add ons in FF with no difference in speed. This member finds that IE is loading the pages faster than FF  :-[

He is also reporting that this is an issue on any SMF RC1 forum but has not problems on other forums. 
Title: Re: RC1 forum slow
Post by: Hell Raiser on May 07, 2009, 01:40:13 AM
Bro have you asked about this to your host abd which host you are using?
Title: Re: RC1 forum slow
Post by: DirtRider on May 07, 2009, 01:47:53 AM
No it is not a host issue as it is only affecting some members see my reply above
Title: Re: RC1 forum slow
Post by: 青山 素子 on May 07, 2009, 10:23:32 AM
34 queries is a lot. What kind of modifications are you using?
Title: Re: RC1 forum slow
Post by: DirtRider on May 07, 2009, 11:50:47 AM
Here are my mods these are the same I was using with 1.1.8 and it was fast. As I say this is not all members and only those using the latest version of Firefox/3.0.10. that same member is having the slow issue here as well  ???.

    Mod Name     Version     
1.    Latest Members RC1    1.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Share this topic SMF Mod    1.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    PM Readed    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Heading to Category    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
5.    RSS Feeder    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Welcome Topic Mod    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    BBC [you]    1.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    Global Topics    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Downloads System    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
10.    Add IP2Location to Track IP    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    Aligned and Bilateral Child Boards    1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    SMF Gallery Pro    1.4.5    [ Uninstall ] [ List Files ] [ Delete ]
13.    PortaMx v0.957    0.957    [ List Files ] [ Delete ]
14.    Aeva ~ Auto-Embed Video & Audio    5.2.56    [ Uninstall ] [ List Files ] [ Delete ]
15.    Users Online Today    1.5.4    [ Uninstall ] [ List Files ] [ Delete ]
16.    SMF Affiliates    v2    [ Uninstall ] [ List Files ] [ Delete ]
17.    SMF Gallery Pro Upgrade    2.0.5.2    [ List Files ] [ Delete ]
18.    Stop Spammer    2.2    [ Apply Mod ] [ List Files ] [ Delete ]
19.    MCLegendII RC1    3.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Choose Ignorable Boards    1    [ Uninstall ] [ List Files ] [ Delete ]
21.    PortaMx v0.957 Rev1    0.957r1    [ List Files ] [ Delete ]
22.    TextSizer    1.0    [ Uninstall ] [ List Files ] [ Delete ]
23.    PortaMx v0.957 Rev2    0.957r2    [ Uninstall ] [ List Files ] [ Delete ]
24.    Advanced Contact Form    1.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Last Active On MemberList    1.01    [ Uninstall ] [ List Files ] [ Delete ]
26.    Ad Managment    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
27.    Auto Email Inactive Users    1.7    [ Uninstall ] [ List Files ] [ Delete ]
28.    PM to New Members    1.0    [ Uninstall ] [ List Files ] [ Delete ]
29.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
30.    EmailFlash    2.0    [ Uninstall ] [ List Files ] [ Delete ]
31.    PortaMx v0.956    0.956    
Title: Re: RC1 forum slow
Post by: CarlT100 on May 07, 2009, 01:09:02 PM
I am not a programmer; so I don't have a clue as to what the causes are.   I am running Firefox 3.0.30 on XP Professional SP2.  When our forum upgraded to to RC1 was running the first release of Firefox 3.0.  I noticed immediately that my page loading times which ran around 3 to 7 seconds per page increased to 17 - 14 seconds per page.  If a PM pop up notification kicks in, the loading times will go to the 30 to 45 second range.  I experience the same on any SM RC1 forum including this one. Other forums which I visit regularly do not have this slow down.  I can be on another forum at the same time I am on an SMF forum and the SMF forum is slow whaile the other forum is not.

When I first log in to the SMF forum, it is relatively fast - 3 to 7 seconds per page.  The longer I am logged in, the slower the page loading.  IE6 is faster loading SMF pages than Firefox.  I have disabled all Firefox addons and disabled Adblock aand added them back one at a time.  there was only a second or two difference in page loading times and that was caused by YSlow.

It is not just Firefox, my ISP, or connection speed as other forum software do not experience a slow down.  Even the NOAA weather site with all of its graphics is much faster loading than any RC1 page.
Title: Re: RC1 forum slow
Post by: DirtRider on May 22, 2009, 10:45:56 AM
This issue is still outstanding  :'(
Title: Re: RC1 forum slow
Post by: Vekseid on May 22, 2009, 11:46:19 AM
Some of those mods are outdated, you may wish to see if any of them are updated, and remove ones that you find you don't really need or are redundant.

The firefox problem is easily solved by moving the relevant javascript to your footer in index.template.php:

Code: [Select]
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

  if ($context['show_pm_popup'])
    {
      echo '<script language="JavaScript" type="text/javascript">
  if (confirm("' . $txt['show_personal_messages'] . '"))
    window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");
</script>';
    }
 
echo '</body></html>';
}

And remove that call from your header.

Title: Re: RC1 forum slow
Post by: CarlT100 on May 22, 2009, 12:47:18 PM
Thank you, Sir.  I'll make sure Dirt Rider sees this.
Title: Re: RC1 forum slow
Post by: DirtRider on May 22, 2009, 02:15:59 PM
Some of those mods are outdated, you may wish to see if any of them are updated, and remove ones that you find you don't really need or are redundant.

The firefox problem is easily solved by moving the relevant javascript to your footer in index.template.php:

Code: [Select]
function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

  if ($context['show_pm_popup'])
    {
      echo '<script language="JavaScript" type="text/javascript">
  if (confirm("' . $txt['show_personal_messages'] . '"))
    window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");
</script>';
    }
 
echo '</body></html>';
}

And remove that call from your header.

Do you mean you need to do this in all the themes index.template.php or just the default theme
Title: Re: RC1 forum slow
Post by: Vekseid on May 22, 2009, 05:24:24 PM
Whatever theme you are using. Pretty much all themes have their own index.template.php, so they will need the change in order to work properly in firefox. Don't forget to remove the relevant portion from the header.
Title: Re: RC1 forum slow
Post by: CarlT100 on May 22, 2009, 05:41:00 PM
DirtRider, why don't you just experiment with the theme I use?  If it doesn't work or something screws up, it will only affect those of us who use that particular theme.  If it works, you can then change the themes of folks who are having slowdowns and problems with the PM popup.
Title: Re: RC1 forum slow
Post by: Something like that on May 22, 2009, 05:55:17 PM
Disable post moderation. It should improve things.
Title: Re: RC1 forum slow
Post by: DirtRider on May 24, 2009, 05:25:42 AM
Ok this is what I have done so far.

1. Disabled post moderation
2. Remover all unnecessary mods and updated others

However I cannot see any remarkable change in the speed. Here is a video showing how slow it actually is. When you see the red flashing circulars over the lounge this is when I click on it  ::)

http://www.youtube.com/watch?v=-RyP6YSvPlY (http://www.youtube.com/watch?v=-RyP6YSvPlY)
Title: Re: RC1 forum slow
Post by: Vekseid on May 24, 2009, 10:10:39 AM
I'm receiving no such slowdown in Firefox. Have you converted tables to InnoDB and followed my suggestions in the sticky at the top of this forum?
Title: Re: RC1 forum slow
Post by: DirtRider on May 24, 2009, 10:46:02 AM
I'm receiving no such slowdown in Firefox. Have you converted tables to InnoDB and followed my suggestions in the sticky at the top of this forum?

Um not sure about this "converted tables to InnoDB" I did try your code change but it did not improve the speed at all.

I am now starting to think that this is not just a FF issue but alos related to what security software you may be running (Norton , McAfee and so on)

In this video I have McAfee installed

http://www.youtube.com/watch?v=-RyP6YSvPlY&feature=channel_page

Here I have nothing installed

http://www.youtube.com/watch?v=d3fzUPdkktM&feature=channel_page

And Here I have Trend installed

http://www.youtube.com/watch?v=4-RCHe9wMWI&feature=channel_page

Now all the above do not seem to have any affect on the speed when tested on other forum software 
Title: Re: RC1 forum slow
Post by: CarlT100 on May 24, 2009, 12:00:14 PM
I just visited the site and tried a couple of random pages. In each case the page generation time was under half a second, with the overall page being presented in about 2-3 seconds.

If it's still persisting, what are the kinds of values for the 'Page created in 0.272 seconds with 22 queries.' bit at the bottom, and which pages do they occur on?

The speeds you are seeing for pages generated are not the real speeds in which the viewer sees the pages.  I get the same readings as you experienced; but in reality the the actual speed is are anywhere from 15 to 25 seconds - and higher.  The issue appears to between Firefox and RC1.  I belong to nine other forums that I visit regularly.  Two of these are RC1 forums and it sis the same for both.  This forum is faster than ours because we have a lot more graphics and such.  However, this one has the same type of slowdown.  No other forums, including three Delphi forums, do I have a slowdown at all.  IE6 is faster than Firefox for RC1 forums.  I had no problem until we upgraded to RC1.

From this I conclude it is not my computer nor is it just Firefox. 
Title: Re: RC1 forum slow
Post by: Vekseid on May 24, 2009, 12:39:17 PM
Um not sure about this "converted tables to InnoDB" I did try your code change but it did not improve the speed at all.

I am now starting to think that this is not just a FF issue but alos related to what security software you may be running (Norton , McAfee and so on)

In this video I have McAfee installed

http://www.youtube.com/watch?v=-RyP6YSvPlY&feature=channel_page

Here I have nothing installed

http://www.youtube.com/watch?v=d3fzUPdkktM&feature=channel_page

And Here I have Trend installed

http://www.youtube.com/watch?v=4-RCHe9wMWI&feature=channel_page

Now all the above do not seem to have any affect on the speed when tested on other forum software

...ouch. It may be because of the recent vulnerability that updated virus scanners are checking on each page load. I use Antivir, myself.
Title: Re: RC1 forum slow
Post by: DirtRider on May 24, 2009, 01:29:50 PM
Yes but it is only some of them that seem to have a problem with RC1. I had ZoneAlarm running before and had no speed issues. This is why I was having a problem trying to work out why some members on my forum had an issue and I did not. It was only when I changed to McAfee that I made the connection that maybe it was not only FF that was the problem  :D
Title: Re: RC1 forum slow
Post by: CarlT100 on May 24, 2009, 01:34:20 PM
I have the same kind of slowdown as DirtRider and I do not use McAfee nor any security suite.  My antivirus is CA. 

I completely uninstalled Firefox, downloaded it and reinstalled it from scratch.  I eliminated four addons - two were Java addons.  My speed has increased considerably.  However, on some pages, the forum tends to hang (though this hanging time is reduced) and the PM module still causes a slowdown that carries over to the rest of the forum.  I only experience this with RC1 forums.  I realize our forum has a lot of graphics and calls; but 15 plus seconds for a page indicates something is wrong.
Title: Re: RC1 forum slow
Post by: 青山 素子 on May 24, 2009, 02:10:34 PM
I can't reproduce this behavior on my system with any of the 2.0 forums I help manage.
Title: Re: RC1 forum slow
Post by: feline on May 24, 2009, 02:33:25 PM
Same as Motoko-chan say ..
SMF 20.RC1-1 with PortaMx 0.957Rev2, 13 Frontpage blocks, one GoggleADS ..
Page created in 0.187 seconds with 21 queries
On my Homepc I use FF3 with a lot of addons and Kaspersky Internet Security

Fel
Title: Re: RC1 forum slow
Post by: DirtRider on May 24, 2009, 11:01:29 PM
Now that I have Trend running it is back to normal so it seems that it is only some security software that it slows down with. However this software does not affect other forum software or web pages in the slowing down. Please see these videos that I captured of the problem



In this video I have McAfee installed

http://www.youtube.com/watch?v=-RyP6YSvPlY&feature=channel_page

Here I have nothing installed

http://www.youtube.com/watch?v=d3fzUPdkktM&feature=channel_page

And Here I have Trend installed

http://www.youtube.com/watch?v=4-RCHe9wMWI&feature=channel_page

Now all the above do not seem to have any affect on the speed when tested on other forum software
Title: Re: RC1 forum slow
Post by: CarlT100 on May 25, 2009, 08:32:54 AM
With or without CA running, mine is the same.  Unless I get a PM popup or go to the PM module, RC-1 forums load fine - albeit more slowly than most other forum software. The longer I stay logged in the slower it becomes, but not drastically slow. If I go to the PM module or receive a PM popup, loading times then run 20 seconds plus per page.  If I open up another RC-1 forum - including this one - while remaining logged in to our fourm, the newly opened RC-1 forum is just as slow. If I close out all RC-1 forums and log back in, the loading times are normal.
Title: Re: RC1 forum slow
Post by: H on May 26, 2009, 07:56:04 AM
Please post a list of the mods that are still installed after you removed some.

No it is not a host issue as it is only affecting some members see my reply above

If members have different settings, then different queries will be run. If the host is slow, then it will be more apparent for the users. Who is your host?
Title: Re: RC1 forum slow
Post by: DirtRider on May 26, 2009, 07:59:37 AM
We were running 1.1.8 on the same host it was only when we upgraded to RC1 that our problems started
Title: Re: RC1 forum slow
Post by: H on May 26, 2009, 08:09:18 AM
SMF 2 has new features, which if enabled will result in more or different queries. Generally more features, will result in a slower site. Normally, this won't be noticeable. Some of our big forum users with over 500k posts are using SMF 2.0 just fine. However if you've on a overselling host there may be visible slowdowns, as is the case here. I did a lookup on your site and I see you're using hostmonster. They are a known overseller. I recommend you search google for: hostgator overseller

I suspect will be able to improve your sites loading speed even if you remain on hostgator, however the fact remains that there are many better hosts out there

Quote
Please post a list of the mods that are still installed after you removed some.
Title: Re: RC1 forum slow
Post by: DirtRider on May 26, 2009, 08:18:13 AM
We are experiencing the same issue on all SMF 2 sites this one included  :o I have marked this issue as solved
Title: Re: RC1 forum slow
Post by: H on May 27, 2009, 01:47:24 PM
Quote
We are experiencing the same issue on all SMF 2 sites this one included

I find that hard to believe ::). Rarely will this site (simplemachines.org) take longer than 0.1 seconds to load.
Title: Re: RC1 forum slow
Post by: CarlT100 on May 27, 2009, 03:44:19 PM
Quote
We are experiencing the same issue on all SMF 2 sites this one included

I find that hard to believe ::) . Rarely will this site (simplemachines.org) take longer than 0.1 seconds to load.
Please believe it; it occurs consistently when a PM module has been accessed in any RC1 forum.  If I have a PM at Triumph Talk or access the PM module, the slowdown occurs and carries over to any other SMF that I visit including this one.  This did not manifest itself until two things happened almost simultaneously: we upgrade our forum software and I upgraded to Firefox 3.XX.

There is a definite problem between RC1 and Firefox 3.xx.  The problem is not my ISP nor my internet connection.  Nor is the problem with our host server.  IE6 continues to load at its same speeds when Firefox has slowed to 20 - 40 seconds (actual time) per page.  I installed a version of Firefox 2.xx and did not experience any slowdowns of RC1 software.  Keep in mind that other forum software packages do not load slowly when the RC1 forums are dragging.  Other websites load as they normally do.

I hope that a not to distant future release of SM software will correct this issue. If not, I will urge Dirtrider to find another software package for our forum.  I like the features of the SMF software and I appreciate the folks in the SMF community.  But 15 to 40 plus seconds per page is rather annoying. 

Once the slowdown occurs, it continues to get worse the longer I am on line.  If I close out all SM forums and reopen them, the speeds are fine - until the PM module is accessed.
Title: Re: RC1 forum slow
Post by: 青山 素子 on May 27, 2009, 04:01:37 PM
I hope that a not to distant future release of SM software will correct this issue.

This will be difficult to do if we can't replicate it. I have done my own testing and can't reproduce with Firefox 3.0.10. What extensions and plugins do you have installed?
Title: Re: RC1 forum slow
Post by: Ben_S on May 27, 2009, 04:40:50 PM
Nor can I reproduce it and none of my users have reported it either.
Title: Re: RC1 forum slow
Post by: CarlT100 on May 27, 2009, 10:19:53 PM
I hope that a not to distant future release of SM software will correct this issue.

This will be difficult to do if we can't replicate it. I have done my own testing and can't reproduce with Firefox 3.0.10. What extensions and plugins do you have installed?

It did the same for me with all plugins disabled. But here are my current extensions and I am running  XP SP2, Firefox 3.0.10, CA antivirus (not the suite).

Adblock 0.5.3.043
Downloadhelper 4.4.1
IE Tab 1.5.20090207
No Script 1.9.3.3 (All forums including Simple Machine forums are white listed)
Linkification 1.3.6

I am running plugins for Garmin, Java, Microsoft, Mozilla, IE Tabs, Quicktime, Shockwave, and Windows Media player.

I hope this is helpful.  Please keep in mind that it seems to be the PM module that triggers the slowdown.
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 12:16:30 AM
After posting actually video screen captures of this problem and posting them here it seem that we still cannot get the point over that some members are having a speed issue on RC1  ::)

I don't know if this will be helpful at all but here goes. Using Web Page Analyzer here http://www.websiteoptimization.com/services/analyze/ (http://www.websiteoptimization.com/services/analyze/) I get the following speed result.

This forum SMF


Download Times*
Connection Rate   Download Time
14.4K    201.36 seconds
28.8K    107.78 seconds
33.6K    94.41 seconds
56K    62.33 seconds
ISDN 128K    28.94 seconds
T1 1.44Mbps    15.48 seconds

TriumphTalk

Download Times*
Connection Rate   Download Time
14.4K    446.26 seconds
28.8K    228.93 seconds
33.6K    197.88 seconds
56K    123.37 seconds
ISDN 128K    45.83 seconds
T1 1.44Mbps    14.57 seconds

Powered by SMF 1.1.9

Download Times*
Connection Rate   Download Time
14.4K    42.15 seconds
28.8K    22.98 seconds
33.6K    20.24 seconds
56K    13.66 seconds
ISDN 128K    6.82 seconds
T1 1.44Mbps    4.06 seconds

Another Powered by SMF 1.1.9

Download Times*
Connection Rate   Download Time
14.4K    63.17 seconds
28.8K    34.29 seconds
33.6K    30.16 seconds
56K    20.26 seconds
ISDN 128K    9.95 seconds
T1 1.44Mbps    5.79 seconds

Powered by vBulletin Version 3.5.2

I think we can all agree that this forum software has plenty features and this forum is one of the bigger ones I use  http://www.advrider.com/forums/ (http://www.advrider.com/forums/)

Download Times*
Connection Rate   Download Time
14.4K    93.47 seconds
28.8K    48.53 seconds
33.6K    42.11 seconds
56K    26.71 seconds
ISDN 128K    10.68 seconds
T1 1.44Mbps    4.21 seconds

Powered by vBulletin® Version 3.6.7


Another forum I use also big http://photography-on-the.net/forum/ (http://photography-on-the.net/forum/)

Download Times*
Connection Rate   Download Time
14.4K    54.48 seconds
28.8K    29.24 seconds
33.6K    25.64 seconds
56K    16.98 seconds
ISDN 128K    7.98 seconds
T1 1.44Mbps    4.35 seconds

Random Forum Software

Powered by phpBB

Download Times*
Connection Rate   Download Time
14.4K    31.35 seconds
28.8K    17.87 seconds
33.6K    15.95 seconds
56K    11.33 seconds
ISDN 128K    6.52 seconds
T1 1.44Mbps    4.58 seconds

Invision Power Board  v2.1.7


Download Times*
Connection Rate   Download Time
14.4K    88.71 seconds
28.8K    46.95 seconds
33.6K    40.99 seconds
56K    26.67 seconds
ISDN 128K    11.78 seconds
T1 1.44Mbps    5.77 seconds

Powered by UBB.threads™ 6.5.5


Download Times*
Connection Rate   Download Time
14.4K    50.40 seconds
28.8K    26.00 seconds
33.6K    22.52 seconds
56K    14.15 seconds
ISDN 128K    5.44 seconds
T1 1.44Mbps    1.93 seconds

So please I think it is about time we admit that we have a speed issue on RC1 and yes we all know that we have a warning not to use this software on a live site. So the question is now am I just wasting my time here trying to get this issue resolved. If so please just say so and we will peruse other options
Title: Re: RC1 forum slow
Post by: 青山 素子 on May 28, 2009, 01:41:06 AM
So please I think it is about time we admit that we have a speed issue on RC1 and yes we all know that we have a warning not to use this software on a live site. So the question is now am I just wasting my time here trying to get this issue resolved. If so please just say so and we will peruse other options

The results you show are not based on any kind of network time, just raw size of the items. It doesn't include JavaScript execution times (just the time needed to download any external script files) nor rendering time. Looking at the sites, TriumphTalk and this site are both much more graphically heavy than the others you show. Try disabling your portal blocks and switching to the "Classic" theme to get a more accurate size comparison.

Running through the sites I was able to get a URL for from your post, here are the results in FireBug. The time loaded is the total time to load the page. This includes JavaScript and other elements.

URL: http://www.simplemachines.org/community/index.php
Total Size: 242kb
Full Load Time: 3.22sec

URL: http://triumphtalk.com/index.php?action=forum
Total Size: 231kb
Full Load Time: 2.09sec

URL: http://www.advrider.com/forums/
Total Size: 156kb
Full Load Time: 2.17sec


URL: http://photography-on-the.net/forum/ (Interestingly, the slowest site of the list)
Total Size: 144kb
Full Load Time: 9.59sec

I'm on a rather high speed (for my area) connection of 20mbit down, which explains the fast load times. I'd be happy to test on the 1.5mbit line at my office tomorrow if you would like.

I don't think it is in doubt that you are seeing a speed issue. I also don't think it's being ignored. The problem is being able to replicate it so that the root cause can be tracked down.

Right now, there are a few people reporting this issue with the combination of Firefox 3 and the 2.0 code, but many more people are using the same configuration with no problems. That makes things especially tricky as there are lots of items in the mix to examine. However, once there can be a consistent way to trigger this behavior, it will be possible (although maybe not easy) to determine the cause.


No Script 1.9.3.3 (All forums including Simple Machine forums are white listed)

What happens if you disable Javascript for the forums? Do you still see the slowdown problems?
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 02:53:05 AM
The things is the test I did are constant to what my members are reporting. From my side I am not the best person to be able to test this as I don't really have the best broadband connection available but the best available in our country  :-[ :D

We have tried running on the default SMF theme and it did not make much of an impact. However CarlT100 is experiencing this all the time. So lets wait for him to come online later and get more feedback from him. Although he has already given quite a bit in this thread already
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 03:31:11 AM
We also already know that the page creation time is not bad at all

TriumphTalk - Page created in 0.218 seconds with 26 queries.
SMF - Page created in 0.063 seconds with 17 queries.

However it is the real time experience of the member using his browser that is the issue and the test I did seem to reflect and come very close to that overall
Title: Re: RC1 forum slow
Post by: Antechinus on May 28, 2009, 03:59:34 AM
DirtRider, just a suggestion here for what might be a temporary work around. I'm currently testing the new Firefox 3.5 Beta 4 and it seems to be very smooth. Although it comes with the usual beta warnings Mozilla also say that they consider it stable, and it will run at least some of the add-ons made for 3.0. You can install it parallel to 3.0 and 2.0 as well if you know how. I have all three running independently on C drive and there are no glitches so far. It might be worth trying it and seeing if it gets around this problem for you.
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 05:23:43 AM
Done that one already  :'(   :D and I am just running it but CarlT100 did try it if I remember correctly
Title: Re: RC1 forum slow
Post by: CarlT100 on May 28, 2009, 06:54:53 AM
Quote
What happens if you disable Javascript for the forums? Do you still see the slowdown problems?

Are you
talking about disabling Javascript in the Firefox options or disabling the plugins?  I will certainly experiment with this.  For the next two days, I will not be on line very much; but over the weekend, I will play with it.

I also have YSlow (currently disabled) and have measured my download times with it and with a stopwatch.  Yslow adds one to two seconds to the download times, which is no big deal. I am on a 1.5 meg connection that actually averages around 1.3 Meg.  Ten seconds or less is no big deal to me and I can live with 15 seconds download times.  When it gets into the 20 to 30 second range, it gets quite frustrating. 

I appreciate your interest in this and I am willing to try any suggestions that you can think of.
Title: Re: RC1 forum slow
Post by: CarlT100 on May 28, 2009, 08:49:07 AM
After disabling a Java plugin, I find Triumph Talk loading in the 3 - 9 second per page range - which is normal.  This is faster than it loads on IE6.  I won't be able to remain  logged in all day as I usually do.  That will have to wait until the weekend.  This page loaded in 8.0 seconds which is about normal.  The PM module still is slow and causes a slowdown.

I appreciate the tip on Java and I will see how that works out over the weekend. 
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 10:18:19 AM
Eventual we have found something to work on. So it seem that we have some kind of conflict with the Java and FF on RC1.

The only thing is without Java some elements of the forum just don't work.

I have also noticed a difference in speed without Java being enabled 
Title: Re: RC1 forum slow
Post by: H on May 28, 2009, 11:16:02 AM
To clarify, are you disabling Java or Javascript? They're both different. SMF doesn't use Java at all although it can often slow down browsers. Javascript is used for various things though
Title: Re: RC1 forum slow
Post by: DirtRider on May 28, 2009, 11:37:29 AM
I started off disabling both but now only have Java disabled and it seems to still be faster than before. This is why I was worried about the Java Script as the forum does use this. However we still have the clash with the PM Popup as far as I understand. We need to check with CarlT100 and see how it is going his side
Title: Re: RC1 forum slow
Post by: CarlT100 on May 28, 2009, 04:29:44 PM
I had a chance today to login to both SMF and Triumph Talk on a different computer (running XP SP2) using Firefox 3.0.10 and a different ISP.   There were no addons installed on this machine.  The connection was slower than mine and as a result the loading was slower.  However, I experienced the same slowdown from the PM module and the same hanging toward the end of a page load as I do at home.
Title: Re: RC1 forum slow
Post by: CarlT100 on May 29, 2009, 08:47:18 PM
I have found that since I disable Java, the RC-1 forums are faster and do not seem to have the long term slow down I was experiencing previously.  I have been logged into Triumph Talk for several hours and the loading times have not increased.  I am still experieince a hang and then slow loading after I use the PM module and if I get the PM popup, the page I was loading when it popped up stops loading if I select open in another window and sometimes if I select cancel.

It appears to me that there is a conflict with Javascripts between RC1 and Firefox 3.0XX. I reiterate that I am not a programmer.
Title: Re: RC1 forum slow
Post by: DirtRider on May 31, 2009, 12:09:56 PM
I see we are now having the same issue on 1.1.9 with the popup freezing the loading page when using FF  :P
Title: Re: RC1 forum slow
Post by: Sarge on June 02, 2009, 08:31:25 AM
Have you tried disabling hostname lookups in SMF?
Title: Re: RC1 forum slow
Post by: DirtRider on June 02, 2009, 01:13:43 PM
Yip already done  :(
Title: Re: RC1 forum slow
Post by: Arantor on June 28, 2009, 10:21:34 AM
Do you still require support with this?
Title: Re: RC1 forum slow
Post by: DirtRider on June 28, 2009, 11:26:28 AM
I think for now we can mark it as solved thanks
Title: Re: RC1 forum slow
Post by: aldo on June 28, 2009, 02:14:16 PM
I know this is marked as solved, I skimmed the whole topic, but forgive me if I have repeated anything :)

Have you checked your error log..? You can also get an insane amount of queries when SMF's error log goes into action to save them to the database, and if you have hundreds (or thousands :P) of pages in your error log, that is probably your problem.

Also, did you reinstall all your modifications after you upgraded, or what?
Title: Re: RC1 forum slow
Post by: DirtRider on June 29, 2009, 09:34:40 AM
Yes did a clean install of all the mods when I upgraded I just did it to the default SMF forum and then built it up from that. I have even tried turning off the error logs but with this said the members are complaining about all SMF RC1 forum being slow and having the same issues  ;D
Title: Re: RC1 forum slow
Post by: aldo on June 29, 2009, 12:19:29 PM
Why do you try to turn the error log off?
Title: Re: RC1 forum slow
Post by: DirtRider on June 29, 2009, 12:52:47 PM
To see if this was maybe causing a slowdown but it was not. It does seem that turning Java off in FF help quite a bit
Title: Re: RC1 forum slow
Post by: aldo on June 29, 2009, 04:35:50 PM
Java or JavaScript? Because those are two totally different things.

If you have no errors in your error log when it is on, that isn't the cause.

Also, is this one of the sites having slow issues? http://www.gameporthole.com/
Title: Re: RC1 forum slow
Post by: Antechinus on June 29, 2009, 05:31:39 PM
Just an aside here: I'm not running RC1-1 on my live site but I do have it on test sites and it does seem painfully slow at times when using FF, even on a local host. I haven't done any real testing of alternative settings yet as I don't spend a lot of time on the test sites.
Title: Re: RC1 forum slow
Post by: aldo on June 29, 2009, 05:37:01 PM
I am running SMF 2.0 RC1-1 on a live site (Its in my siggy and under my profile) and it seems just fine in Firefox.
Title: Re: RC1 forum slow
Post by: DirtRider on June 30, 2009, 08:56:08 AM
For some reason it also depended on what version of FF you are running and it seemed to vary from member to member. Some members never reported any problems with speed but other reported RC1 to be very slow and much slower than any other forums.
Title: Re: RC1 forum slow
Post by: aldo on June 30, 2009, 01:30:07 PM
Well, do you experience this issue yourself with the latest version of Firefox (The current latest is 3.5)

If it isn't, get it and try, and tell all your members to do the same. It usually is a good idea to keep your software updated as we all should know. xD And this could be a source of one of the issues, and older version of Firefox which might have had some kind of bug fixed in a later version.
Title: Re: RC1 forum slow
Post by: DirtRider on June 30, 2009, 01:35:38 PM
yeah we have been updating as it updated and we are now running on  Firefox/3.0.11 but as I said with Java disabled it seemed to have help a huge amount with this issue
Title: Re: RC1 forum slow
Post by: aldo on June 30, 2009, 02:15:07 PM
Java? o_O Do you have any java applets on your page..? Do any other websites see such a significant speed increase if you disable Java?
Title: Re: RC1 forum slow
Post by: Antechinus on June 30, 2009, 05:41:21 PM
DirtRider, upgrade to Firefox 3.5. It kills 3.0 for speed and has several other advances too.

(yes I realise this doesn't necessarily address the root issue here but....)
Title: Re: RC1 forum slow
Post by: DirtRider on July 01, 2009, 12:28:23 AM
@ aldo -  Well I was in a bit of a spot with this issue as itw as not really affecting me that much. Then again I don't have the best broadband around so I never really knew if it was or not.


@ Antechinus  - Cool thanks I have upgraded so I will see how it goes from now on  :D