ZMQ sampling rate doubled #470
-
|
Hello, here is the eNB config: Log from gNB: Log from my ZMQdevice: The throuput on the wire I have ~1Gbps when I expect ~491Mbps. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
|
Yes, we use You might use the GNU-radio flow-graph provided in our Multi-UE tutorial for testing. Just modify it to have 1 gNB and 1 UE. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I will look at this GNU-radio flow. Any ideas why gNB is sending 15360 (4x3840) samples in one millisecond, instead of 7680? It looks like in the enb.log. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Rafal, When you have low bandwidth and use sockets or IPC in the same machine it runs faster than the ideal sampling rate. You could potentially use the following throttling option to limit the sampling rate: However, I suggest your application throttles the transmitter by stopping the ZMQ requests. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Xavier, Below is the gnb.log when I have send zmqRes every 2ms. Correct me if I am wrong but this log indicates how much samples lower phy is writing into "zmq driver" circular buffer, right? If yes, then is suggests that lower phy is sending two times more samples to "zmq driver" than it should at 7.68Mhz sampling rate. In my opinion, whatever happens on the transmission layer, the lower phy should write and read the samples to/from the circular buffers according to the sampling rate speed . Regards, |
Beta Was this translation helpful? Give feedback.
-
|
Ok. I think I figured it out. Probably gNB is not so asynchrounues between RX and TX stream, I will look more in the code. Thanks for the answers. PS. The --low_phy_dl_throttling=0.99 also did the trick and lower phy did slow down. |
Beta Was this translation helpful? Give feedback.
Hi Rafal,
the ZMQ operation is designed for running at the maximum speed the slowest device in the network can handle. The receiver entities throttle the transmitters through the request/reply pattern.
When you have low bandwidth and use sockets or IPC in the same machine it runs faster than the ideal sampling rate. You could potentially use the following throttling option to limit the sampling rate:
However, I suggest your application throttles the transmitter by stopping the ZMQ requests.