Bandwidth
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Bandwidth

Started by witch, 10 August, 2004, 11:42:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

witch

Hi guys!
Well it's already a month since i looking for host for my hub...people asking me qestions and i don't know what to say, some things still not clear for me. Well my qestion is about bandwidth, how it's count? For example 100 users in hub, how much bandwidth gona be used a month? Please explain me....

Thanx  :))



Cypher

Your looking for a host for your hub? Why not answer the questions of the people that were ready to host your hub. Give them more info on what you want or your goin to get no where.

witch

LOL i host my hub my self....and if u read my request with open eyes, u'll see there qestion.....lol  :rolleyes:



plop

#3
taken from the docs of verlihub.
QuoteThis is interrresting to know, how many users can I have on my hub when my connection speed is such and such.

I give you an approximative solution which works for VerliHub and which I calculated based on sevral observations.

Let's say your you are allowed to use U kbits per second upload speed permanently. Then you can handle

 N=sqrt(U)*20

users approximately. (see note later)

Some orientating numbers:
U   N
128kbit   226
256kbit   320
512kbit   452
1Mbit   640
10Mbit   2020
100Mbit   6400

NOTE: These numbers are for an orientation, of course, that they may vary depending on user's activity. And they depend on the power of you cpu, and other factors. During the evening when people are more active, those mubers may lower by about 10-15%

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Cypher

QuoteLOL i host my hub my self....and if u read my request with open eyes, u'll see there qestion.....lol

lol joker. im on about this:

QuoteHi guys!
Well it's already a month since i looking for host for my hub...

your post in offtopic still remains unanswered and if i was those people i would just give up waiting ;)

witch

Thanx Plop mate!!! I still not get it... this zitat explains what the resoneble amount of users u can have on such and such speed conection. But i wana find out how much bandwidth hub will use on the server for 100 users a month. U know like pay servers seling web space:
-1GB space
-60GB  Bandwidth
-bla bla

So if the hub soft runing on the remote server, how much Bandwidth it will use it self? Only hub soft running on this server, no dc++ clients and no downloads and uploads.

Hope i'm explaining my self clear.

Thanx



UwV

#6
Quote-60GB Bandwidth
this usually means the amount of data you are allowed to transfer (don't ask me why i's called bandwith .. )
so .. ...

given that you want to know about bandwithusage of with aprox. 100 users and need aprox. 58kbit/s to run a hub nicely ..  (taken the info from a few posts above)

(funktion make yer maths ;-)
Xb = 60                -- bandwith used per second
Xb = Xb * 60        -- per minute  (3480)
Xb = Xb * 60        -- and then per hour (208800)  
Xb = Xb * 24        -- then we have a day (5011200)
Xb = Xb * 28        -- and one "moon" (140313600)

-- i call a month 28 day's (Xb =Xb x 28 )  aah .. a roman month .. then .. just do the thing by doing
(funktion make yer maths again ;-)
Xb = 60                 -- bandwith per second
Xb = Xb * 60         -- per minute  (3480)
Xb = Xb * 60         -- and then per hour (208800)  
Xb = Xb * 24         -- then we have a day (5011200)
Xb = Xb * 365.25  -- makes a year (1830340800)
Xb = Xb / 12          --  is one month (152528400)

now you have an estimation of the datatransfer done by a hub, per mont in kbit  ..  so now don't ask me how many GB that is .. i forgot .. i don't want to remember  .. or i am too lazy to look inside any script here on the forum that does it ..  but maybe it was something to do with * 1024  and then * 8 or something  like that  ;0)
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

plop

made a script for it.
fill in the upload speed you have and execute it with the lua command line.
Mb = 1024
Upload_speed = 100 *Mb -- in Kbit's

N=sqrt(Upload_speed)*20

function con(num)
   local t = floor(num)
   if strlen(t) >= 10 then
      num = format("%0.3f", (num/1024/1024/1024)) .." T"
   elseif strlen(t) >= 7 then
      num = format("%0.3f", (num/1024/1024)) .." G"
   elseif strlen(t) >= 4 then
      num = format("%0.3f", (num/1024)) .." M"
   else
      num = num.." K"
   end
   return num
end

print("Maximum upload speed of "..con(Upload_speed).."bit's") 
print("can handle maximum "..floor(N).." users")
print("-------------------------------------------------")
print("Upload per second: \t"..con(Upload_speed).."bits \t"..con(Upload_speed / 8).."B")
Umin = N *60
print("Upload per minute: \t"..con(Umin).."bits \t"..con(Umin / 8).."B")
Umin = Umin *60
print("Upload per hour: \t"..con(Umin).."bits \t"..con(Umin / 8).."B")
Umin = Umin *24
print("Upload per day: \t"..con(Umin).."bits \t"..con(Umin / 8).."B")
Umin = Umin *30
print("Upload per month: \t"..con(Umin).."bits \t"..con(Umin / 8).."B")
print("-------------------------------------------------")
print("This is just the uploaded data")
print("-------------------------------------------------")
but remember this is from an early version of verlihub.
this doesn't mean it's the same on ptokax.
the latests versions of verlihub can handle much more users.
10.000 user take 80Mbit on those versions, while on this formula/version the max is only 6400.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

witch

Thanx dudes for your help!!! Tomorow i will try work on bouth formules....one brain good, but 3 is better!!!

Thanx  :D



plop

QuoteOriginally posted by witch
Thanx dudes for your help!!! Tomorow i will try work on bouth formules....one brain good, but 3 is better!!!

Thanx  :D
there is only 1, the script i posted does what UwV told you/us about.
all you need 2 do is set your upload speed in the script and execute it.
examples:
Maximum upload speed of 540 Kbit's
can handle maximum 464 users
-------------------------------------------------
Upload per second:      540 Kbits       67.5 KB
Upload per minute:      27.232 Mbits    3.404 MB
Upload per hour:        1.596 Gbits     204.239 MB
Upload per day:         38.295 Gbits    4.787 GB
Upload per month:       1.122 Tbits     143.606 GB
-------------------------------------------------
This is just the uploaded data
-------------------------------------------------
Maximum upload speed of 100.000 Mbit's
can handle maximum 6400 users
-------------------------------------------------
Upload per second:      100.000 Mbits   12.500 MB
Upload per minute:      375.000 Mbits   46.875 MB
Upload per hour:        21.973 Gbits    2.747 GB
Upload per day:         527.344 Gbits   65.918 GB
Upload per month:       15.450 Tbits    1.931 TB
-------------------------------------------------
This is just the uploaded data
-------------------------------------------------

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

witch

Thanx Plop dude!
 Now it's clear.... with speed 10 Mbps and 100 users aprox = Upload per month: 70 GB

Am i right?



UwV

nope .. i think you're not actually ...

plop's schedule shows that a hub on a 540 kb connection (of wich i presume it is what a hub uses then) can do aprox. 464 users .. so devide the out come by 4  ..  to calculate the 'bandwith-usage' of a hub with 110 users in it .. (if you really need exactly 100 take 10% off your last result)
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

plop

Maximum upload speed of 26.000 Kbit's
can handle maximum 101 users
-------------------------------------------------
Upload per second:      26.000 Kbits    3.250 KB
Upload per minute:      5.975 Mbits     764.853 KB
Upload per hour:        358.525 Mbits   44.816 MB
Upload per day:         8.403 Gbits     1.050 GB
Upload per month:       252.088 Gbits   31.511 GB
-------------------------------------------------
This is just the uploaded data
-------------------------------------------------
you can't simply divide by 4 as you can see.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

witch

You are right Plop! Thanx a lot....at last this problem sorted!!!  :D  :D  :D



UwV

#14
right you are ... plop ,.. as usual ;)

and it's logic .. again ..
more users .. more info send to each user ..
stupid me ..  :rolleyes:  
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

plop

yw guy's.

yep uwv.
2 users = 2*2= 4 myinfo's to send
4 users = 4*4=16 myinfo's to send
8 users = 8*8=64 myinfo's to send

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk