SUMMARY: Solaris 2.4 tftp performance

From: Chris Phillips (chris@otter.cs.yorku.ca)
Date: Thu Jun 29 1995 - 12:56:48 CDT


Basically do the following:

(mkdir /tftpboot/dev ; mknod /tftpboot/dev/udp c 11 41;
chmod a+rx /tftpboot/dev; chmod 666 /tftpboot/dev)

Thanks, Casper!

Chris Phillips (chris@cs.yorku.ca)

PS
We use your JumpStart scripts, Thanks for all the helpful stuff!

 |Subject: Re: Solaris 2.4 tftp performance
 |Date: Wed, 28 Jun 1995 11:27:14 +0200
 |From: Casper Dik <casper@Holland.Sun.COM>

 |>Is anyone aware of any patch that might either:
 |>1)
 |>Speed up the tftpd ( I suspect this is actually inherent in the SysVR4
 |>base and has more to do with network i/o overhead).

 |No, it is not inherent to SVR4 network performance TCP/IP stuff.
 |The problem is that tftpd does a chroot, after which it can no longer
 |create csockets, then fails a new onegets started, etc.

 |You can use the 2.3 tftpd or you can make a /dev/udp device under
 |/tftpboot.

This did the trick... so it was a simple question/fix...

 |Casper

 |Subject: Re: Solaris 2.4 tftp performance
 |Date: Wed, 28 Jun 1995 11:49:51 +0200
 |From: Casper Dik <casper@Holland.Sun.COM>

 |>Hi,
 |>
 |>We are in the process of upgrading to SunOS 5.4 (Solaris 2.4) from SunOS
 |>4.1.3 and I have run into several problems with tftp on 2.4. We have 5
 |>servers with ~16 NCD X19r xterms, basically the same configuration.
 |>
 |>Under SunOS4 I rebooted theses machines simultaneously (ie when power fails
 |>or on cold start of machine) with no problem. Under Solaris 2.4 I first
 |>found that the original tftpd was causing a message, "Child Status Changed".
 |>I replaced the tftpd with a version from NCD.Com, which seems to fix that
 |>problem. However there is still a noticeable performance difference between
 |>the 4.1.3 tftp and the Solaris 2.4 version. In 4.1.3 we rarely saw a 2nd
 |>invocation of the tftp daemon for a reboot of the whole X terminal subnet,
 |>but in Solaris 2.4 it is invoked many times, causing inetd to close out the
 |>tftpd service:

 |Small test (before creating /tftpboot/dev/udp)

 |tftp localhost
 |tftp> get inetboot
 |Received 163836 bytes in 0.8 seconds
 |tftp> get inetboot
 |Received 163836 bytes in 5.8 seconds
 |tftp> get inetboot

 |(first one is fast, all other are slow and will result in an inetd message,
 |tftp needs to time out and is then restarted by inetd).

 |After creating /tftpboot/dev/udp
>|(mkdir /tftpboot/dev ; mknod /tftpboot/dev/udp c 11 41;
>| chmod a+rx /tftpboot/dev; chmod 666 /tftpboot/dev)

 |tftp> get inetboot
 |Received 163836 bytes in 0.8 seconds
 |tftp> get inetboot
 |Received 163836 bytes in 0.6 seconds
 |tftp> get inetboot
 |Received 163836 bytes in 0.7 seconds
 |tftp> get inetboot
 |Received 163836 bytes in 0.6 seconds
 |tftp>

 |Casper



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:28 CDT