Displaying 1 result from an estimated 1 matches for "load_factor".
Did you mean:
lag_factor
2004 Aug 06
1
About threads and bitrates and bytes...
...rough producer-bus-consumer (within my control)
2) The way through the network to the client (out of my control)
I thought that it would be possible to transport more than needed per
second byte[]'s through the p-b-c pattern but still maintain the needed
bitrate (lower speed). I introduced a load_factor that multiplies the
buffersize and the sleep-time of the producer. Resulting in the producer
thread to read the KBytes he needs for the (bitrate * load_factor) and
then wait the difference in time until (1 sec * load_factor) is full.
This now creates Idle times for my producers of ~975ms*load_f...