Closed Yi-ran closed 3 years ago
Hi Yiran - Can you share the contents of your client.config
file? Thanks!
Hi Yiran - Can you share the contents of your
client.config
file? Thanks!
client.config:
host_addr 192.168.2.3
host_netmask 255.255.255.0
host_gateway 192.168.2.1
runtime_kthreads 4
runtime_spinning_kthreads 4
Thanks! Try adding these two lines:
runtime_guaranteed_kthreads 4
runtime_priority lc
We will update the example configurations soon.
Thanks! Try adding these two lines:
runtime_guaranteed_kthreads 4 runtime_priority lc
We will update the example configurations soon.
Thanks. I add these two lines and no error output. By the way, is the output at the client correct? I'm not very clear about the meaning of output. Is "Zero" -> distribution, "1000"-> target, etc?
~/caladan$ ./apps/synthetic/target/release/synthetic 192.168.2.2:5000 --config client.config --mode runtime-client
CPU 01| <5> cpu: detected 8 cores, 1 nodes
CPU 01| <5> time: detected 3408 ticks / us
[ 0.000237] CPU 01| <5> loading configuration from 'client.config'
[ 0.000260] CPU 01| <5> process pid: 755803
[ 0.013777] CPU 01| <5> net: started network stack
[ 0.013792] CPU 01| <5> net: using the following configuration:
[ 0.013794] CPU 01| <5> addr: 192.168.2.3
[ 0.013798] CPU 01| <5> netmask: 255.255.255.0
[ 0.013800] CPU 01| <5> gateway: 192.168.2.1
[ 0.013803] CPU 01| <5> mac: CA:96:26:97:38:AB
[ 0.013872] CPU 01| <5> thread: created thread 0
[ 0.013921] CPU 01| <5> spawning 4 kthreads
[ 0.013992] CPU 02| <5> thread: created thread 1
[ 0.014013] CPU 00| <5> thread: created thread 2
[ 0.014040] CPU 01| <5> thread: created thread 3
Distribution, Target, Actual, Dropped, Never Sent, Median, 90th, 99th, 99.9th, 99.99th, Start
zero, 1000, 0, 0, 0, 1617896051
[ 24.512432] CPU 01| <5> init: shutting down -> SUCCESS
Great. The output below seems to indicate a connectivity issue. Distribution is the distribution from which the service times for each request are drawn (zero means no synthetic work is performed, and the packet is simply sent back). The target QPS is 1000, and the actual achieved QPS is 0. You may need to make sure that DPDK is selecting the correct NICs/ports and that there are no conflicts on the network with the IP addresses that you are using. You can recompile everything with the debugging enabled (https://github.com/shenango/caladan/blob/068f30e0d1d63ee745b3f03a5e2b7be560222fc2/build/config#L10) to get more verbose output that may be helpful in following where packets are not being received or sent.
Great. The output below seems to indicate a connectivity issue. Distribution is the distribution from which the service times for each request are drawn (zero means no synthetic work is performed, and the packet is simply sent back). The target QPS is 1000, and the actual achieved QPS is 0. You may need to make sure that DPDK is selecting the correct NICs/ports and that there are no conflicts on the network with the IP addresses that you are using. You can recompile everything with the debugging enabled (
https://github.com/shenango/caladan/blob/068f30e0d1d63ee745b3f03a5e2b7be560222fc2/build/config#L10
) to get more verbose output that may be helpful in following where packets are not being received or sent.
The synthetic application runs correctly after I fixed the connectivity issue. Thanks a lot !
Hi Caladan developers,
I am running into some issues when trying to run Caladan.
Environment
Following instructions in Readme.txt. Intel NIC binds to the IGB UIO module.
Run the synthetic application in Step 5 (Server):
Run the synthetic application in Step 5 (Client. dp_clients: failed to attach proc):