mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 933
5
5618 Offline OP
Hoopy frood
OP Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
In my experience there is definitely a much bigger lag when joining multiple channels simultaneously. The lag seem to occur when the channel nick listboxes are being filled.

Overall there is much more lag when receiving server responses (e.g. services notices or from a whois) in my case, which is probably a reason for the above.

Edit: ok, I just did some benchmarks to get actual numbers. v7.12 vs v6.35, both copies connected to the same server and (SSL) port, with the same set of (simple) script files loaded.

20 PINGs sent to the server with $ticks (//.quote PING $ticks), alternating between both mIRC copies to try and eliminate temporary server-sided lag.
With the help of /debug, the difference was calculated between the value of $ticks when sent and the value of $ticks at receiving the server reply.
Highest and lowest differences in ticks crossed out and the average of the remaining 18 taken.

v6.35 : 177 ticks
v7.12 : 907 ticks

Last edited by Khaled; 12/10/10 03:49 PM.
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
5618: If you do the same tests without SSL, do you get the same kind of results? I'm just wondering if it might be related at all to SSL because I haven't really noticed a difference in speed connecting. Of course, I also am not in many channels and usually am not paying much attention while connecting anyhow.

Last edited by Khaled; 12/10/10 03:49 PM.

Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2007
Posts: 933
5
5618 Offline OP
Hoopy frood
OP Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Yeah, that thought occured to me too, but I didn't get to test that. I plan to test that when I get home today.

I believe the same holds true for a non-SSL connection though, but I'll have to back that up with numbers.

Last edited by Khaled; 12/10/10 03:50 PM.
Joined: Jun 2007
Posts: 933
5
5618 Offline OP
Hoopy frood
OP Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Ok, so it is most definitely caused by SSL afterall. I see no significant difference when connected without SSL.

FYI: I have tried this with both the Win32 OpenSSL v0.9.8o and the Win32 OpenSSL v0.9.8h binaries with the same result.

Last edited by Khaled; 12/10/10 03:50 PM.
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
If you can please post the script that you are using to reproduce this issue I will test it out.

Joined: Jun 2007
Posts: 933
5
5618 Offline OP
Hoopy frood
OP Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
Heh, I was about to edit my post.

For instance:
Code:
alias dticks {
  if (PONG isin $1) return $calc($ticks - $right($gettok($1,-1,32),-1))
  else halt
}

Use with /debug -i @debug dticks

Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks, I was able to reproduce this issue. It is due to a change that fixes a bug in previous versions of mIRC that caused SSL connections to occasionally freeze mIRC when many SSL connections were open. I think I may have mentioned this in a previous post. I am leaving this change in place for the moment but may look at it again in the future.


Link Copied to Clipboard