On 02/24/10 11:16, Alfred Levy wrote:
Use the GUI Firmware on the Sun Ray and try dropping the MTU size to 1320 or so
to accommodate the VPN headers? Set MTU size on the SRSS interface that
connects to the VPN concentrater on the server end?
My $0.02
AJ
With VPN configured, the MTU is automatically adjusted. Unless you're
seeing a lot of packet loss, indicated by spotty screen updates,
fragmentation is unlikely to be the issue. More useful would be the
output of my utbw program, which is a more user-friendly version of
utcapture. See attached.
Kent
#!/bin/ksh
if [ $# -eq 0 ]
then
TOK=$CORONA_TOKEN
else
TOK=$1
fi
echo $TOK
if [ `uname` = "Linux" ]
then
AWK=gawk
else
AWK=nawk
fi
if [ -x /opt/SUNWut/lib/utnetpipe ]
then
UTPIPE=/opt/SUNWut/lib/utnetpipe
else
UTPIPE=/home/kent/bin/utnetpipe
fi
while [ true ]
do
print status tokenName=$TOK | $UTPIPE 0.0.0.0 7010
sleep 20
done | $AWK '
BEGIN {
pkts = 0
lost = 0
realtime = 0
idle = 0
bytes = 0
nterms = 0
}
/terminalId=/ {
id = substr($0, index($0, "=") + 1)
}
/terminalPackets=/ {
pkts = substr($0, index($0, "=") + 1)
}
/terminalLostPackets=/ {
lost = substr($0, index($0, "=") + 1)
}
/terminalConnectTime=/ {
realtime = substr($0, index($0, "=") + 1)
}
/terminalIdleTime=/ {
idle = substr($0, index($0, "=") + 1)
}
/terminalBytes=/ {
bytes = substr($0, index($0, "=") + 1)
}
/terminalLatency/ {
latency = substr($0, index($0, "=") + 1)
}
/end/ {
if (realtime < orealtime[id]) {
olost[id] = 0
opkts[id] = 0
orealtime[id] = 0
oidle[id] = 0
obytes[id] = 0
avglat[id] = 0
print "-------"
}
lostd = (lost - olost[id])
pktd = (pkts - opkts[id])
timed = (realtime - orealtime[id])
idled = (idle - oidle[id])
byted = (bytes - obytes[id])
if (timed <= 0)
next
if (pktd < 0)
next
if (avglat[id] == 0)
avglat[id] = latency + 0.
avglat[id] += (latency - avglat[id]) * .5
tlost += lostd
tpkt += pktd
ttime += timed
tidle += idled
tbytes += byted
nterms++
totpkts = lostd + pktd;
printf "%s lost %6d/%02d%% pkts %6d cpu %3d%% kbytes %6d %.3f
Mbps %.1f(%.1f) ms\n", \
day, lostd, lostd * 100 / (totpkts + 1), totpkts, \
100 - idled / timed * 100, byted / 1024, \
byted * 8 / (timed * 1024 * 1024), latency / 1000, \
avglat[id] / 1000
olost[id] = lost
opkts[id] = pkts
oidle[id] = idle
orealtime[id] = realtime
obytes[id] = bytes
}'
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users