https is faster on amd64?

2011-02-06 Thread kellyremo


http://devcentral.f5.com/weblogs/macvittie/archive/2011/01/31/dispelling-the-new-ssl-myth.aspx
 
 according to the SSL Performance table it says that the transactions per 
second is 2-3 times better using 64bit kernels opposite to 32bit kernels?
 
 is this true, or i am just misunderstanding something
 
 Thank you!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


OpenSSH could be faster...then why don't they path it??

2011-02-06 Thread kellyremo
https://www.psc.edu/networking/projects/hpn-ssh/hpn-v-ssh-tput.jpg

SCP and the underlying SSH2 protocol implementation in OpenSSH is network 
performance limited by statically defined internal flow control buffers. These 
buffers often end up acting as a bottleneck for network throughput of SCP, 
especially on long and high bandwith network links. Modifying the ssh code to 
allow the buffers to be defined at run time eliminates this bottleneck. We have 
created a patch that will remove the bottlenecks in OpenSSH and is fully 
interoperable with other servers and clients. In addition HPN clients will be 
able to download faster from non HPN servers, and HPN servers will be able to 
receive uploads faster from non HPN clients. However, the host receiving the 
data must have a properly tuned TCP/IP stack.

My question is: So Why Does the original OpenSSH has limited statically 
defined internal flow control buffers?? It could be way faster, even 10x!!

With the HPN-SCP path it could be the descendant of FTP! Why aren't there any 
OpenSCP packages? ('normal SCP+HPN-SCP path+no local user needed for 
SCP'ing+chroot by default')

Any opinions?

Thank you!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


if the file changes send email about diff

2011-02-06 Thread kellyremo

I have 2 script. Script A, Script B.

Script A is regulary watching the dhcpacks [dhcp release is configured to 
2mins] in the logs, for the past 2 minutes. it writes the MAC addresses to a 
file [/dev/shm/dhcpacks-in-last-2min.txt] every 2 minutes. Ok, this is working, 
active clients are in this file. Super!

Script B: http://pastebin.com/raw.php?i=wvhwhPWu
I'm trying to create a script, that watches the changes in 
/dev/shm/dhcpacks-in-last-2min.txt file [in every 1 sec]. Ok. But: my 
watcher script [the pastebined] is not working fine...sometime it works, 
sometime it send that someone XY logged out, but it's not true! nothing 
happened, and the problem is not in the Script A.

Can someone help me point out, what am i missing? How can i watch a file [in 
every sec], that contains only MAC addresses, and if someone doesn't get 
dhcpack in 2 minutes, the file /dev/shm/dhcpacks-in-last-2min.txt changes, 
and that clients MAC address will be gone from it, and i need to know, who was 
it [pastebined my script..but somethings wrong with it].

Thank you for any help..i've been pathing my script for days now.. :\

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


putting /tmp to memory

2011-01-23 Thread kellyremo

to memory means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and 
put the /tmp on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the 
/etc/fstab?
 
 I would like to collect the [ answers too:P ]:
 
 Advantages:
 - Memory is way faster then HDD/SSD, so it could speed things up
 - SSD amortization is less
 
 Disadvantages: 
 - Security? [ how to set this up to be secure? any clear howtos/links 
regarding it? :O ]
 
 Really thank you for any good help...


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org