Measurements and Results
We found by timing various portions of the program that the RJS program was using 600 to 700 us per bit byte or between 75 and 85 micro-seconds of chargeable cpu time per bit. (See tables 1 and 2 for actual results). A short discussion of how these figures were obtained is now in order. NOTE! We have not been trying to measure network transmission rates; Rather, how much it costs us to take a program (data) from our disk and send it to another host to be executed (processed).
Column 1 is the clock time (real-time) from when the first byte was brought in from the disk until the last byte had gone onto the network. (Or from the time we received the first byte from the network until the disk file was closed).
Column 2 is computed in the same manner as column 1 except that it is the chargeable runtime for the process.
Column 3 is the actual number of bytes that went onto or came from the network. The letter that follows this column indicates the direction. E.G. s for sending to UCLA, r for receiving from UCLA).
Column 4 was calculated by the following formula:
Bits per second = (real-time)/((number of bytes)*8)
Column 5 was calculated by the formula:
us/bit = (chargeable runtime)*1000/((number of bytes)*8)
Column 6 is the 5 minute load average. (See TENEX documentation for details.)
Using these figures we can conclude that for a million bits of information -- programs to be executed or data -- it would take 75 to 85 cpu seconds to transmit. At a cost of $474.60 per cpu hour on TENEX's[5], this millionbits would cost $9.90 to 11.20 to transfer from the originating host and potentially the same for the foreign host to receive. This is about 33 to 37 times higher than the predicted network transmission costs[4].
It is to be noticed that, in some cases, for programs to be transmitted over the network, the cost incurred by transmitting them was greater than the cost of executing these programs at the foreign host!