Channels and Limit Player
#28

What about the memory management, I think this depends on how the application was developed, creating a thread for every connection, and in that thread uses some memory that was allocated a stack size(lets say up to 1 mega), 30,000 would mean 1 mega *30.000, approx 30 Giga of ram. 

On 64Bit machines use 4M stack size.

Bitness Stack Size Max threads
32-bit 64K 32,073
32-bit 128K 20,549
32-bit 256K 11,216
64-bit 64K stack too small
64-bit 128K 32,072
64-bit 512K 32,072

This means if a 32Bit machine with 64k stack size can cost ram 64k*32,073=1.95G RAM, the last example for the 64Bit systems uses 16G or RAM.

 

The more threads you have the more slower it gets. This only depends on the application, how it has its memory organized.

 

Thread Size:

2

 

 

 

On a saturday night when there are about 2k players online at eternia it already uses 16gb of ram.

And thats devided amongst 6 channels.

 

Thats 8 mb each player

So with 30k players that would be 240 gb of ram.

And with lastchaos not being resource friendly at all,

i think to have 30k players in 1 channel u will need something else then the basic VPS hosts u can get Tongue



Messages In This Thread
[No subject] - by Maskov - 11-03-2011, 11:58 AM
[No subject] - by BashVendetta - 11-03-2011, 12:05 PM
[No subject] - by Maskov - 11-03-2011, 12:55 PM
[No subject] - by MonarC - 11-03-2011, 01:22 PM
[No subject] - by BashVendetta - 11-03-2011, 02:34 PM
[No subject] - by Maskov - 11-03-2011, 02:52 PM
[No subject] - by megachombas - 11-03-2011, 04:58 PM
[No subject] - by Maskov - 11-04-2011, 03:38 PM
[No subject] - by METH - 11-04-2011, 10:36 PM
[No subject] - by Warmonger - 11-04-2011, 10:47 PM
[No subject] - by Maskov - 11-04-2011, 11:12 PM
[No subject] - by Jackster - 11-04-2011, 11:20 PM
[No subject] - by Natzn - 11-04-2011, 11:23 PM
[No subject] - by Warmonger - 11-04-2011, 11:33 PM
[No subject] - by Natzn - 11-04-2011, 11:37 PM
[No subject] - by Jackster - 11-05-2011, 12:01 AM
[No subject] - by Maskov - 11-06-2011, 12:09 AM
[No subject] - by BashVendetta - 11-06-2011, 10:24 AM
[No subject] - by megachombas - 11-06-2011, 11:05 AM
[No subject] - by someone - 11-06-2011, 11:10 AM
[No subject] - by megachombas - 11-06-2011, 11:32 AM
[No subject] - by BashVendetta - 11-06-2011, 01:13 PM
[No subject] - by CADH - 11-06-2011, 01:18 PM
[No subject] - by METH - 11-06-2011, 04:41 PM
[No subject] - by megachombas - 11-06-2011, 05:57 PM
[No subject] - by Maskov - 11-06-2011, 09:54 PM
[No subject] - by Darquise - 11-07-2011, 09:55 AM
[No subject] - by Wizatek - 11-07-2011, 03:38 PM
[No subject] - by someone - 11-07-2011, 06:35 PM
[No subject] - by Incordia - 08-21-2012, 11:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)