Relative Performance With Various Latencies - Texas Instruments SPRU938B User Manual

Texas instruments vlynq port user's guide
Table of Contents

Advertisement

Read Performance
B.3
Read Performance
Since reads must complete a transmit-remote read-receive cycle before starting another read transaction,
the data throughput is lower as compared to writes. There is latency involved in reading the data from the
remote device; and in some cases, a local latency in writing the returned data before the next read can
start.
The max read rate is calculated the same way as the max write rate. The packet overhead is as shown
below:
Read32 - caaaaT
ReadBurst - claaaaT
ReadReturn - clddddddddT
Where
T - EndOfPacket
d - data, dddd represents additional 32-bit words in burst, up to 16 words.
a - address
c - command
l
- length
There are 6 bytes of overhead for a single read, 7 bytes for burst reads, and 3 bytes for read returns. The
time required for a read is the total of the time for the read request, remote latency, read return, and local
latency. Thus, the throughput can be calculated as data bytes/total transaction time, where the latency of
both local and remote devices is combined.
Read Throughput = data/ (((Read + ReadReturn + data)/max read rate) + Latency
For example, with a 4 pin, 99 MHZ VLYNQ connection, for a single 32-bit word read:
Read Throughput = 32 bits
Similarly, for a burst read of sixteen 32-bit words, with a 4 pin, 99 MHZ VLYNQ connection
Read Throughput = 16
Using the formula above, the relative performance with various latencies is illustrated for a 4 pin, 99 MHZ
VLYNQ clock, burst read (sixteen 32-bit words) throughput rate, as shown in
Number of VLYNQ
Pins (99 MHZ)
To efficiently use VLYNQ bandwidth, it is desirable for each VLYNQ device to write from the local device
to the remote device. Burst transactions are more efficient than single read/write transactions.
46
Write/Read Performance
= (data
max read rate)/((Read + ReadReturn + data) + Latency
read rate)
316.8 Mbps/ (6
= 10137.6/(104 + Latency
32 bits
316.8Mbps/(6
= 162201.6/(584 + Latency
Table B-3. Relative Performance with Various Latencies
Burst Size in
32-bit Words
4
16
8 + 3
8 + 4
8 + Latency
316.8 Mbps)
8 + 3
8 + 16
4
316.8Mbps)
Latency (μsec)
Mbits/sec
0
277.74
1
179.70
10
43.02
100
5.00
www.ti.com
max
316.8Mbps)
8 + Latency
316.8Mbps)
Table
B-3.
Throughput
Mbytes/sec
34.72
22.46
5.38
0.62
SPRU938B – September 2007
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents