home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.dcom.modems:13004 comp.mail.uucp:1746
- Path: sparky!uunet!airs!ian
- From: ian@airs.com (Ian Lance Taylor)
- Newsgroups: comp.dcom.modems,comp.mail.uucp
- Subject: Re: UUCP 'G' protocol packet size
- Message-ID: <5252@airs.com>
- Date: 5 Sep 92 15:51:36 GMT
- References: <1079@bazooka.amb.org>
- Sender: news@airs.com
- Followup-To: comp.dcom.modems
- Lines: 45
-
- ti@bazooka.amb.org (Ti Kan) writes:
-
- >Also, on Pg. 321 it says that although the G protocol allows for
- >data packets with different K-values (physical lengths) to be sent
- >in a session, in practice both ends always use the value negotiated
- >at the start of the session.
-
- This is correct. Note that the SVR4 'G' protocol (as opposed to the
- standard 'g' protocol, which is what I believe you are discussing)
- does not accept data packets of different lengths.
-
- >With the previous paragraph in mind, I looked into the version of
- >uucico that I'm using and found that the "packet size" is hardwired
- >to 64 bytes. So the question is, is there any benefit in increasing
- >this to something like 4096 bytes? Do I run the risk of making my
- >uucico incompatible with other systems?
-
- Yes, increasing the packet size can improve throughput enormously
- (unless you are using Telebit spoofing, which only operates on a
- packet size of 64 bytes). Yes, you do run the risk of making your
- uucico incompatible with other systems. There are many uucico's which
- will accept any packet size. However, there are several which have an
- upper limit of 128 bytes (off hand I believe this is true of some or
- all versions of SunOS and Ultrix), and there may be other upper limits
- less than 4096 bytes. The best thing to do is to try it; if the other
- uucico will not accept the large packets, it will crash or otherwise
- drop the connection, and you will know to reduce the packet size on
- your end.
-
- Be aware that the 'g' protocol checksum is not great. If accuracy of
- data is a concern, then I think 1024 byte packets are about the
- largest for which the checksum will be reliable.
-
- Also be aware that the data packet size is NOT a negotiation. It is
- an announcement of what data packet size you would like to receive.
- You should not send large data packets unless the other side requests
- them. Increasing your data packet size request will request the
- remote computer to send you large data packets, which is what you want
- if you receive large amounts of data, such as news, from the remote
- system. This is somewhat covered in the comp.mail.uucp FAQ.
- --
- Ian Lance Taylor ian@airs.com uunet!airs!ian
- First person to identify this quote wins a free e-mail message:
- ``I would prefer my life to contain more hours of pain, if that means
- that none of this pain is still to come.''
-