sysctl: kern.ipc.nmbclusters: Invalid argument

After read this article I try to practice in other server that has gigabit ethernet card .

I have download opensuse 10.3 in Gnome and KDE version and use it as sample stuff for sending via scp.

sending before tuning :

monitor# scp openSUSE-10.3-GM-GNOME-i386.iso [email protected]:/home/mother
Password:
openSUSE-10.3-GM-GNOME-i386.iso                                                             100%  665MB  10.2MB/s   01:05

ftp# sysctl kern.ipc.maxsockbuf=262144

ftp# sysctl net.inet.tcp.sendspace=65536

ftp# sysctl net.inet.tcp.recvspace=65536

ftp# sysctl net.inet.tcp.rfc1323=1

monitor# scp openSUSE-10.3-GM-GNOME-i386.iso [email protected]:/home/mother
Password:
openSUSE-10.3-GM-GNOME-i386.iso                                                             100%  665MB  10.4MB/s   01:04

tuning the values in ‘mother’

====================================================
testing transfer data to ‘mother’

monitor# ls
openSUSE-10.3-GM-GNOME-i386.iso openSUSE-10.3-GM-KDE-i386.iso
monitor# scp openSUSE-10.3-GM-GNOME-i386.iso [email protected]:/home/mother
Password:
openSUSE-10.3-GM-GNOME-i386.iso                                                             100%  665MB  10.4MB/s   01:04

====================================================

tuning the values to monitor
monitor# sysctl kern.ipc.maxsockbuf=262144
kern.ipc.maxsockbuf: 262144 -> 262144
monitor# sysctl net.inet.tcp.sendspace=65536
net.inet.tcp.sendspace: 32768 -> 65536
monitor# sysctl net.inet.tcp.recvspace=65536
net.inet.tcp.recvspace: 65536 -> 65536

testing again ::

monitor# scp openSUSE-10.3-GM-GNOME-i386.iso [email protected]:/home/mother
Password:
openSUSE-10.3-GM-GNOME-i386.iso                                                             100%  665MB  10.2MB/s   01:05o

speed decrease? from 10.4 to 10.2  MB/s with same time.

when I try this

ftp# sysctl kern.ipc.nmbclusters=32768
kern.ipc.nmbclusters: 33792
sysctl: kern.ipc.nmbclusters: Invalid argument

Gee, I must read sysctl manual first before try again 🙂