Performance and troubleshooting
150
Alvium G1 User Guide V1.1.1
GVSPPacketSize
GVSPPacketSize
configures the total size of a GVSP packet, including the IP-, UDP-
and GVSP headers.
The performance of the stream processing is largely determined by the number of
received packets.
shows how
GVSPPacketSize
affects the CPU load
during streaming at different packet sizes for the socket driver and the filter driver.
The diagram shows the total CPU load over all cores; on single cores, the difference
between socket and driver is much larger. Values on your system may vary from
values measured on our test system, but the relation is the same.
The packet size is inversely proportional to the number of packets per second.
shows that increasing the packet size reduces the number of packets,
minimizing the risk of lost frames.
Note
: We recommend allowing the maximum packet size possible. To determine
the maximum packet size supported by your system, the
Vimba
API includes an
automatic detection: Executing the
GVSPAdjustPacketSize
command first
negotiates with the camera for the best possible packet size, then automatically
sets
GVSPPacketSize
.
If the detected size is 1500 Bytes or less, ensure that Jumbo Frames are enabled on
the host. Jumbo Frames must be enabled on all active Ethernet components.
Figure 62: GVSPPacketSize versus CPU usage while the camera is streaming
768
2304
3840
5376
6912
9000
Z
ĞůĂ
Ɵǀ
ĞWhƵƐĂŐ
Ğ
's^WƉĂĐŬĞƚƐŝnjĞLJƚĞƐ
^ŽĐŬĞƚĚƌŝǀĞƌ
&ŝůƚĞƌĚƌŝǀĞƌ
hŶƐƚĂďůĞ
^ƚƌĞĂŵ͗
^ƚĂďůĞ
0
1
2
3
4
5