Welcome to LordSith.Net

2005/02/14

I was having trouble with an smb mount on my gateway box.
I couldn't cp(1) a file from the smb share to local disk, whereas if I used dd(1) I was able to get the file without problems.
The funny thing was that my laptop runs the same config (freebsd 5.3-stable but from a build of 2 days earlier) and it has no problems with the smb mount.
I couldn't understand why my gateway box was having these problems until I took a closer look at how my LAN NIC was configured.
I had been experimenting with GbE and set the mtu on the LAN NIC to 9000 for some jumbo frame test work and somehow the smbfs implementation (either statically compiled into my kernel of simply by loading smbfs.ko) has problems with this mtu size.
I switched back to the original mtu setting of 1500 and now smbfs works as expected.


2005/02/13

Well, this weekend, after having upgraded my laptop from 5.3-RELEASE to 5.3-STABLE using SCHED_ULE + PREEMPTION, I have now also upgraded my home gateway/router/packet-filter box to 5.3-STABLE as well.
Earlier, I used webbench from my laptop (webbench -c 100 -t -1 (100 processes)) to stress-test the gateway box running Apache2.
Running webbench with these options, system load on the gateway box would rise to ~120 and the system felt a little sluggish when using the vi editor for example.
After having made the switch to SCHED_ULE + PREEMPTION the box feels snappier even at the same system load.
However, I use the munin and munin-node ports on my gateway box and I do admit that the munin-node process (perl) refused to update any of the statistix while the system was running under a >100 load.
Only after having killed the webbench stress-test the statistix were gradually updated (or at least, the generated png's were).
This is something I need to take a closer look at.



ARCHIVES