Random Chitchat 2012-2016
Here's mine.

Code:
traceroute to mc-server.org (46.21.172.157), 30 hops max, 60 byte packets
1  192.168.0.1 (192.168.0.1)  6.241 ms  6.235 ms  6.397 ms
2  host-92-16-62-1.as13285.net (92.16.62.1)  38.699 ms  42.956 ms  46.260 ms
3  host-78-151-225-189.static.as13285.net (78.151.225.189)  52.009 ms  52.010 ms  55.476 ms
4  host-78-151-225-156.static.as13285.net (78.151.225.156)  58.783 ms host-78-151-225-196.static.as13285.net (78.151.225.196)  62.786 ms host-78-151-225-232.static.as13285.net (78.151.225.232)  62.782 ms
5  host-78-144-11-105.as13285.net (78.144.11.105)  66.595 ms host-78-144-11-93.as13285.net (78.144.11.93)  70.587 ms host-78-144-11-95.as13285.net (78.144.11.95)  73.291 ms
6  host-78-144-10-157.as13285.net (78.144.10.157)  76.113 ms host-78-144-10-73.as13285.net (78.144.10.73)  42.235 ms host-78-144-10-75.as13285.net (78.144.10.75)  44.735 ms
7  ve1010.r1.lon2.uk.atrato.net (80.94.66.13)  45.875 ms  50.423 ms  50.419 ms
8  eth1-1.core1.lon2.uk.atrato.net (78.152.44.92)  52.097 ms  55.455 ms  55.451 ms
9  eth4-6.core1.ams1.nl.atrato.net (78.152.44.78)  63.211 ms  68.308 ms  73.179 ms
10  eth1-5.edge1.ams5.nl.atrato.net (78.152.34.30)  73.170 ms  94.106 ms  94.107 ms
11  eth2-4.edge1.rtd1.nl.atrato.net (78.152.44.32)  100.670 ms  100.682 ms  52.335 ms
12  rijndata-42755-gw.ztm1.nl.as5580.net (78.152.32.182)  52.329 ms  51.590 ms  51.587 ms
13  rtr01.zmr001.dict.nl (46.21.175.34)  430.057 ms  430.072 ms  434.299 ms
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
Thanks given by:
I guess you already have a few, but here's one more Smile
Code:
1    <1 ms    <1 ms    <1 ms  192.168.0.1
  2     *        *        *     Request timed out.
  3    16 ms    10 ms    10 ms  ip-86-49-0-217.net.upcbroadband.cz [86.49.0.217]
  4    11 ms    12 ms    12 ms  84.116.222.198
  5    10 ms    12 ms    24 ms  84.116.222.193
  6    10 ms     9 ms     9 ms  84.116.222.189
  7    12 ms     9 ms    12 ms  84.116.222.185
  8    10 ms    19 ms    34 ms  213.46.180.10
  9    28 ms    24 ms    24 ms  eth2-7.r1.fra1.de.atrato.net [78.152.44.14]
10    40 ms    47 ms    38 ms  eth10-5.core1.ams2.nl.atrato.net [80.94.64.221]
11    44 ms    44 ms   210 ms  eth2-5.edge1.ams5.nl.atrato.net [78.152.44.133]
12    42 ms    36 ms    45 ms  eth2-4.edge1.rtd1.nl.atrato.net [78.152.44.32]
13    35 ms    38 ms    37 ms  rijndata-42755-gw.ztm1.nl.as5580.net [78.152.32.182]
14    38 ms    41 ms    38 ms  rtr01.zmr001.dict.nl [46.21.175.34]
15    43 ms    38 ms    38 ms  46.21.172.157

Here's a wireshark capture of the forum mainpage reload; upon first glance I find it odd that the first connection attempt just times out after 3 seconds and only then the connections get served.


Attached Files
.zip   mc-server.org reload.zip (Size: 9.67 KB / Downloads: 262)
Thanks given by:
Here is mine:
Code:
1    <1 ms   <1 ms   <1 ms  192.168.1.1
2    <1 ms   <1 ms   <1 ms  188-142-48-1.FTTH.ispfabriek.nl [188.142.48.1]
3     2 ms     2 ms     2 ms  188.142.0.38
4     2 ms     2 ms     2 ms  188.142.0.37
5     2 ms     2 ms     2 ms  188.142.0.134
6     2 ms    12 ms     2 ms  openpeering.nikhef.nl-ix.net [193.239.116.17]
7     3 ms     3 ms     3 ms  openpeering.rijndata.nl [82.150.158.251]
8     4 ms     4 ms     4 ms  rtr01.zmr001.dict.nl [46.21.175.34]
9     4 ms     3 ms     3 ms  vserver3.axc.nl [46.21.172.157]
Thanks given by:
You can compile Lua :O I didn't know that Wink But now i'm curious if it also runs on other platforms then Windows. I compiled something I was working on. Its a custom .Ini file reader. It only has 3 functions GetValue, SetValue(Bugged) ForEachValueInKey() but whatever Smile Just install this like a normal plugin in MCServer.


Attached Files
.zip   CustomIni.zip (Size: 2.71 KB / Downloads: 224)
Thanks given by:
I think it depends on the machine's endianness and if it's 32 or 64 bit that decides whether the compiled Lua script runs on another machine. If these things are the same, it should run no problem.
Thanks given by:
Not only can you compile Lua, you can also JIT it. And we might be able to do that in MCS as well, should the need arise. So far I don't think we'd have to do that, the plugins we do are quite simple and don't bottleneck the performance.
Ref.: http://luajit.org/
Thanks given by:
Yeah, luajit seems a good idea, but I'm not sure if it adds any overhead for simple plugins like we have ATM. It might be harder to integrate, too.
Thanks given by:
If you compiled Lua and let MCServer execute it, would it be faster then when you would not compile it?
Thanks given by:
IDK. LuaJIT is very fast, and normal lua is extremely fast for an interpreted language anyway.
Thanks given by:
(08-29-2013, 04:14 AM)STR_Warrior Wrote: If you compiled Lua and let MCServer execute it, would it be faster then when you would not compile it?

I don't think so, if I remember correctly, Lua compiles all the code thrown at it before executing it, so the only thing that would be faster would be plugin load time. And that is already pretty fast. And anyway, as I said, the plugins are not the bottleneck now, by far not, so there's no point in optimizing that.
Thanks given by:




Users browsing this thread: 125 Guest(s)