📄 rfc662.txt
字号:
Network Working Group Raj KanodiaRequest for Comments: 662 Project MAC, MITNIC #31386 Nov. 1974 PERFORMANCE IMPROVEMENT IN ARPANET FILE TRANSFERS FROM MULTICSWith the growth of Multics usage in the ARPA Network community, users often need to transfer large amounts of data from Multics to other systems. However,Multics performance in this area has been less than optimal and there clearlyexists a need to improve the situation. Even within Project MAC there are userswho regularly ship files back and forth between Multics and other Project MACcomputer systems. Recently the Cambridge Information Systems Laboratory (CISL)development Multics system was connected to the ARPA Network. This hasgenerated considerable interest among the members of the CSR (Computer SystemsResearch) and CISL groups in using the Multics file transfer facility for tran-smission of Multics system tapes (MST) from one Multics system to the other.At currently realizable data transfer rates, transmission of a typical MST,(approximately 12 million bits), takes about half an hour. The usefulness ofthe present file transfer system is severely limited by its low bandwidth.One of the reasons for such a poor performance is the output buffering strategyin the Multics IMP DIM (IMP Device Interface Manager.) With the hope of makinga significant performance improvement, we recently changed the IMP DIM buffer-ing strategy. To assess the effects of this change an experiment was conductedbetween the service machine (MIT Multics) and the development machine (CISLMultics.) This memo reports the experiment and its results.PROBLEMDue to reasons that are of historical interest only, the output buffers in theIMP DIM have been very small; each buffer can accommodate up to 940 bits only.With the addition of a 72 bit long header, the resulting message has a maximumlength of 1012 bits, which in the Network terminology is a single packetmessage. Due to this buffer size limit, Multics can transmit single packetmessages only, even though the network can accept up to 8096 bit long messages.This results in increased overhead in the set up time for transmission of largenumber of bits.An old version of the IMP-to-Host protocol requires that a host may not transmitanother message on a network connection unless a Request-for-Next-Message (RFNM)has been received in response to the previous message. Even though thisrestriction has now been relaxed, the protocol does not specify any way torecover from transmission errors that occur while more than one RFNM is pendingon the same connection. If the constraint of transmitting only one message at atime is observed there is at least some potential for recovery in case of anerror. 8eing reliability conscious, Multics observes the constraint imposed bythe old protocol. Following the old protocol introduces delays in thetransmission of successive messages on the same link and therefore the overallbandwidth per connection is reduced. -1-SOLUTIONAt least one method of improving the file transfer bandwidth is obvious.Increasing the size of IMP DIM output buffers will allow us to transmitsignificantly larger messages<s1>s This will result in fewer RFNMs and delays andimproved bandwidth. We have made two assumptions here. The first assumption isthat the delay introduced by RFNMs does not increase with the size of themessage.<s2>s Our experience with the network tends to support this assumption.The second assumption is that actual time taken to transmit a message increases,at best, linearly with the size of message. This second assumption does nothold for a heavily loaded network. But for our purpose we may assume it to beessentially correct.There is another advantage in transmitting large messages. For a given amountof data, fewer messages will be transmitted, fewer RFNMs will be read, andtherefore time spent in the channel driver programs will be reduced. Since thechannel sits idle during at least some of this time, the idle time for thechannel will be reduced, resulting in improved channel bandwidth.EXPERIMENTWe changed the IMP DIM to implement two kinds of output buffers. One kind ofoutput buffer is short and can hold single packet messages only. The other kindof buffer is, naturally enough, large and can hold the largest message allowedby the network. If the number of bits to be transmitted is low (this is mostlythe situation with interactive users,) a small buffer is chosen and if it islarge (for example, file transfers,) a large buffer is chosen.The new IMP DIM was used in an experimental Multics system on the developmentmachine at CISL. The service machine at MIT had the old version. Large fileswere transmitted from the development system to the service system and the filetransfer rate was measured in bits per second ( of real time.) To get anestimate of gain in the performance, files were transmitted from the service<s1>s In one situation it may not be possible to transmit large messages. Thenumber of messages and bits that a host can transmit on a particular connectionmust not exceed the message and bit allocation provided by the receiving host.If a receiving host gives very small bit allocation, then the sending host cannot transmit very large messages. Since Multics always gives out very largeallocations, there should be no problem in Multics to Multics file transfers.<s2>s It should be noted that the size of RFNM is fixed and does not change with the size of message. -2-system to the development system and the old file transfer rate was measured.The same file, approximately 2.5 million bits long, was used in bothexperiments. The BYTE-SIZE and MODE parameters of the ARPANET File Transferprotocol were set to 36 and "image" mode respectively. This implies that nocharacter conversion was performed in the file transfer. The following tableshows the results obtained:Service to Development Development to Service(old system) (new system)average file-transfer rate 6,837 27,578(bits per second)The following information regarding the environment of the experiment issupplied for the sake of completeness. At the time of this experiment, theservice system was lightly loaded (the system load varied between 30.0 and35.0). The service system configuration was 2 cpu's and 384 K primary memory.The development machine configuration was 1 cpu and 256 K of primary memory.The development system load was limited to the file transfer processes and theinitializer process. The MIT Multics is connected to the IMP number 44 (port 0)by a rather short cable (approximately 100 feet long.) The CISL Multics isconnected to the IMP number 6 (port 0) by an approximately l5OO feet long cable.8oth IMPs are in close physical proximity (approximately 2000 feet,) and areconnected to each other by a 5O kilobits per second line. The results givenabove show considerable improvement in the performance with the new IMP DIM.Since there is considerable interest in the Multics development community inusing the file transfer facility for transmitting Multics System Tapes betweenthe two systems, we are providing here an estimate of time that would be takento transmit the current MST. MST 23.4-0A contains 334,231 words. Whenmultiplied by 36 (the word length in bits) this yields the total number of bitsto be approximately 12.5 million. Assuming a file transfer rate of 27,500 bitsper second, it will take approximately 7 minutes and 30 seconds to transmit thesystem 23.4-0A.In the experiment outlined above, there was only one file being transferred atany given tine between the two systems. We conducted another experiment to getan estimate of performance in the situation of multiple file transfers occurringsimultaneously. This experiment consisted of first two, and then three,simultaneous file-transfers from the development system to the service system.These file transfers were started by different processes logged in from separateconsoles. Because these file-transfers were started manually, we could notobtain perfect simultaneity and results obtained for the total bandwidth areessentially approximate. For two simultaneous file transfers the total bit ratewas approximately 40,000 bits per second and bit rate for each file transfer wasapproximately 20,000 bits per second. For three simultaneous file transfers,total bit rate remained at approximately 40,000 bits per second and bit rate forindividual transfers was approximately 13,500 bits per second. -3-
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -