
Hi! I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay? Thanks, Tim

Sure, what info do you need? Bill W On Sat, Jul 30, 2011 at 3:56 PM, Tim Sally <tsally2@illinois.edu> wrote:
Hi!
I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay?
Thanks,
Tim _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Hi Tim, Sure. If you need more numbers from our other servers let me know ( https://www.torservers.net/services.html#servers ). Looking forward to your results! nforce1.torservers.net http://nforce1.torservers.net/vnstat.png http://nforce1.torservers.net/vnstat_d.png http://nforce1.torservers.net/vnstat_m.png # netstat -tn | wc -l 47969 # netstat -tn | grep ESTABLISHED | wc -l 24714 # netstat -tn | grep 77.247.181.*:443 | wc -l 9420 axigy1.torservers.net http://axigy1.torservers.net/vnstat.png http://axigy1.torservers.net/vnstat_d.png http://axigy1.torservers.net/vnstat_m.png # netstat -tn | wc -l 9483 # netstat -tn | grep ESTABLISHED | wc -l 5215 # netstat -tn | grep 72.46.129.*:443 | wc -l 3845 # vnstat -l -i eth0 rx: 67.74 Mbit/s 9945 p/s tx: 67.64 Mbit/s 9794 p/s drtornyc1.torservers.net http://drtornyc1.torservers.net/vnstat.png http://drtornyc1.torservers.net/vnstat_d.png http://drtornyc1.torservers.net/vnstat_m.png # netstat -tn | wc -l 5215 # netstat -tn | grep ESTABLISHED | wc -l 3436 # netstat -tn | grep 74.120.15.*:443 | wc -l 2584 # vnstat -l -i eth0 rx: 45.42 Mbit/s 6360 p/s tx: 43.30 Mbit/s 4406 p/s On 30.07.2011 21:56, Tim Sally wrote:
Hi!
I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay?
Thanks,
Tim _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
-- Moritz Bartl https://www.torservers.net/

Exit server with maxed-out 10Mbit connection (1.1MB/sec): # lsof -ni | grep _tor | wc -l 546 Relay server rate-limited to 150KB/sec: # lsof -ni | grep _tor | wc -l 132 Regarding the relay server: torstatus.blutmagie.de reports Observed bandwidth of 51KB/sec while Vidalia reports 172KB/sec. Neither server is CPU- or memory-constrained, and the relay server is not bandwidth constrained. With all that said, I don't expect success in your endeavor. In my experience, traffic on relays is really, really erratic. Look at how the utilization bounces on a Stable server: http://torstatus.blutmagie.de/router_detail.php?FP=4d393c7d93c16b97a3f41df94... Good luck modeling (and end-users estimating the use of their Internet connections) this kind of variation in network utilization. -----Original Message----- From: "Tim Sally" <tsally2@illinois.edu> Sent: Saturday, July 30, 2011 3:56pm To: tor-relays@lists.torproject.org Subject: [tor-relays] Number of Connections Open Hi! I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay? Thanks, Tim _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

pure relay, not exit eth0 / traffic statistics rx | tx --------------------------------------+---------------------------------------- bytes 170.08 MB | 175.13 MB --------------------------------------+---------------------------------------- max 1.17 MB/s | 1.14 MB/s average 677.69 kB/s | 697.81 kB/s min 445.70 kB/s | 449.51 kB/s --------------------------------------+---------------------------------------- packets 213195 | 217824 --------------------------------------+---------------------------------------- max 1318 p/s | 1303 p/s average 829 p/s | 847 p/s min 576 p/s | 595 p/s --------------------------------------+---------------------------------------- time 4.28 minutes # netstat -tn | wc -l 474 # netstat -tn | grep ESTABLISHED | wc -l 452 On 7/30/2011 12:56 PM, Tim Sally wrote:
Hi!
I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay?
Thanks,
Tim _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Hi, on 2011-07-30 21:56 Tim Sally wrote the following:
Hi!
I'm working on a model to estimate the number of connections an OR has open as a function of the OR's bandwidth. I could really use some help confirming that my model is reasonable. Would any relay operators be willing to share the results of some variant of netstat | wc -l and the bandwidth of the relay?
TORy0,1,2,3 exit: Old dual quadcore CPU 8 GB running 4 exits on 2 IP's 1 Gb/s into router; then 10Gb/s unsaturated into AMS-IX echo '' ; echo 'tor'; echo '===' ps -ef|grep /usr/sbin/tor|grep -v 'grep /usr/sbin/tor' echo "tcp connects" netstat -an|grep '137.56.163.64'|grep tcp|wc -l netstat -an|grep '137.56.163.46'|grep tcp|wc -l tor === 106 2499 1 99 Jun29 ? 107951-18:49:47 /usr/sbin/tor -f /etc/tor/tor2.cfg 106 3432 1 99 Jun29 ? 107952-06:11:55 /usr/sbin/tor -f /etc/tor/tor1.cfg 106 3689 1 99 Jun29 ? 107951-14:01:29 /usr/sbin/tor -f /etc/tor/tor3.cfg 106 30113 1 99 Jun29 ? 107951-19:24:07 /usr/sbin/tor -f /etc/tor/tor0.cfg tcp connects 18147 17552 but it's a lazy Sunday morning in UTC+2; usually I'd expect ~40000. top - 11:04:00 up 32 days, 19:49, 1 user, load average: 2.37, 2.04, 1.85 Tasks: 197 total, 5 running, 192 sleeping, 0 stopped, 0 zombie Cpu0 : 3.0%us, 0.3%sy, 0.0%ni, 93.7%id, 0.0%wa, 0.0%hi, 3.0%si, 0.0%st Cpu1 : 47.4%us, 39.1%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 13.6%si, 0.0%st Cpu2 : 3.6%us, 0.0%sy, 0.0%ni, 93.4%id, 0.0%wa, 0.0%hi, 3.0%si, 0.0%st Cpu3 : 53.3%us, 33.4%sy, 0.0%ni, 3.0%id, 0.0%wa, 0.0%hi, 10.3%si, 0.0%st Cpu4 : 51.5%us, 36.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 12.0%si, 0.0%st Cpu5 : 2.3%us, 0.3%sy, 0.0%ni, 93.8%id, 0.0%wa, 0.0%hi, 3.6%si, 0.0%st Cpu6 : 58.5%us, 31.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 10.3%si, 0.0%st Cpu7 : 2.0%us, 0.3%sy, 0.0%ni, 94.0%id, 0.0%wa, 0.0%hi, 3.6%si, 0.0%st Mem: 8196296k total, 4398000k used, 3798296k free, 464k buffers Swap: 1048568k total, 0k used, 1048568k free, 461000k cached cheers, teun

%cat /usr/local/etc/tor/torrc | grep -i Nickname && echo && netstat -tn | wc -l && netstat -tn | grep ESTABLISHED | wc -l Nickname minibofh 690 69 -- I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.

hi there, four Tor routers are running on this machine: anonymizer2:~# vnstat -tr 60 -i eth0 8606386 packets sampled in 60 seconds Traffic average for eth0 rx 462.47 Mbit/s 71600 packets/s tx 473.49 Mbit/s 71838 packets/s anonymizer2:~# netstat -tn | wc -l 47430 anonymizer2:~# netstat -tn | grep ESTABLISHED | wc -l 29152
participants (8)
-
Bill Waggoner
-
Jordi Espasa Clofent
-
Moritz Bartl
-
Olaf Selke
-
Softail
-
Steve Snyder
-
Teun Nijssen
-
Tim Sally