Page 1 of 1
Help with setting up a 1K+ server
Posted: Sat Sep 10, 2011 8:49 am
by DeathDream
Having had many small, and I mean small private servers, I want to set up a strong server from home.
This is the US. Meaning, 12 mbps means 1.1 MBps ALWAYS. I can also get up to a 2.2 MBps download. Is this connection good enough since packets are just being sent?
I am also thinking about:
8GB or 16GB ddr3 RAM
Athlon X2 x64 2.6 GHz (since l2j isn't CPU intensive)
2x 7200 RPM hard drives. (might get SAS 15k's)
What do you guys who have experience with this area think?
Re: Help with setting up a 1K+ server
Posted: Sat Sep 10, 2011 11:48 am
by Sirpaypi
I already tried a home made, and I failed.
That server cant handle 1000 players, even with 200 player you will have freezes when changing classes or taking classes or getting new skills etc.
Re: Help with setting up a 1K+ server
Posted: Sat Sep 10, 2011 9:14 pm
by Stake
I think, server specs are good, however you could use SSD's. The problem would be your net speed. Upload speed that counts because clients connect to your server, and not vice versa. Anyway, some useful JVM parameters:
-Xnoclassgc -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+AggressiveOpts
ParallelGCThreads should be set to your number of CPU cores. This GC options are standard-like. It is used on every large population server. You can't do drastic performance increase with simple startup parameters, so you should think about optimization in code and on your server.
Re: Help with setting up a 1K+ server
Posted: Mon Sep 12, 2011 4:25 pm
by Nik
L2J consumes a lot of CPU, I can verify that. About the ram, you dont need more than 8g for ~1k players.
All you need is:
Fast RAM, not a lot of memory.
Fast CPU, L2J do not consume so much CPU, but when you get so many players, it sure does consume a lot of CPU. Quad core is a minimum.
Fast HDD for faster database I/O.
Re: Help with setting up a 1K+ server
Posted: Mon Sep 12, 2011 11:08 pm
by momo61
Nik is right. Im wondering though, what is better for an L2J server, DDR2 or DDR3 ?
Re: Help with setting up a 1K+ server
Posted: Mon Sep 12, 2011 11:17 pm
by MELERIX
momo61 wrote:Nik is right. Im wondering though, what is better for an L2J server, DDR2 or DDR3 ?
depend...
DDR1 for example (if we talk about latency) is more fast than DDR2 or DDR3, but have less bandwidth
Re: Help with setting up a 1K+ server
Posted: Tue Sep 13, 2011 10:07 pm
by Stake
MELERIX wrote:momo61 wrote:Nik is right. Im wondering though, what is better for an L2J server, DDR2 or DDR3 ?
depend...
DDR1 for example (if we talk about latency) is more fast than DDR2 or DDR3, but have less bandwidth
Block selection latency is configurable in bios.
Re: Help with setting up a 1K+ server
Posted: Tue Sep 13, 2011 10:47 pm
by Sirpaypi
One time I used 10gb ramdisk and that the faster thing you can use for a l2j server, but more expensive.
Now using normal HDD when for example I set_level 85 to someone I stay blocked for like 30 / 40 secs.
Same thing when I take new class etc. Dunno where to problem but I think it's from writing into data base.
And this machine has 24 Gb...
Re: Help with setting up a 1K+ server
Posted: Wed Sep 14, 2011 2:37 am
by DeathDream
How would a quad core, 8 gb ram, fast hard drive, and 5 mbps upload be?
Re: Help with setting up a 1K+ server
Posted: Wed Sep 14, 2011 11:48 am
by mrTJO
5 Mbps may be not enough.
5 Mbps = 5000 kbps
5000 kbps = 5000 kbps/8 = 625 kBps
625kBps/1000 users = 625 Bps/user
also, what do you mean for "quad core processor", "8 GB ram" and "fast hard drive"?

every quad core processor have different frequences and perfomances, the same for ram and hard drives
running l2j on a 3,3 GHz clock would be surely more performant than a 1,2 GHz processor

the same for other components, expecially HDD.
Re: Help with setting up a 1K+ server
Posted: Fri Sep 16, 2011 3:34 am
by DeathDream
Alright guys, here is a deal ive found. 100Mbps connection. for 15$ a month extra i can get 1Gb port.
Xeon X3370 3.0GHZ Quad Core 8GB RAM 150GB Velociraptor 2,000G/mo $177 a month
OR
Intel Xeon Lynnfield X3460 2.8Ghz, 8GB RAM, 2x500GB SAS, RAID 1, 10TB Intel Xeon Lynnfield X3460 2.8Ghz, 8GB RAM, 2x500GB SAS, RAID 1, 10TB $175 mo
What do you guys think?
Re: Help with setting up a 1K+ server
Posted: Sun Nov 20, 2011 12:30 am
by Szponiasty
Sirpaypi wrote:One time I used 10gb ramdisk and that the faster thing you can use for a l2j server, but more expensive.
Now using normal HDD when for example I set_level 85 to someone I stay blocked for like 30 / 40 secs.
Same thing when I take new class etc. Dunno where to problem but I think it's from writing into data base.
And this machine has 24 Gb...
Then setup your MySQL caching: use myisam for your gs database, increase key buffer size, sort buffer size, additionally increase myisam key/sort/cache sizes, allocate a lot for query cache... That will have same (or better) result, as buying very pricy ssd disk

No SSD or SAS is quicker than RAM
PS. RAM disk will also not be that efficient, as increasing mysql caching pools.
Re: Help with setting up a 1K+ server
Posted: Sun Nov 20, 2011 5:50 pm
by sd619
the private server is the way to go, i have had in the "begining of my private server community setup" a home server and it failed real fast, due to the flood of players the bandwidth could not support a home connection, and i had a intel xeon qaud core 16g ram, and 3x 15k raptors, and fully config'd setup to perfection, but the lag was still OMFG!!