sdnfv / openNetVM

A high performance container-based NFV platform from GW and UCR.
http://sdnfv.github.io/onvm/
Other
263 stars 136 forks source link

Regarding performance comparison in single server vs multiple servers #108

Closed madhura-a closed 4 years ago

madhura-a commented 5 years ago

Respected Sir,

I need a clarification related to the performance of openNetVM. I have created 6 network functions. I have measured the latency involved in 2 ways,

1) All the network functions running in the same server. 2) Here I have used 3 servers, server 1 has 1 network function, server 2 has 4 network functions and server 3 has one network function.

The packets are generated at one network function, traverse through all the network functions, (network functions process the packets and perform some tasks also) and at the end packets reach back to the original network function. In case 2, they traverse through the NIC as well to reach the destination NF.

What I have observed is, the latency involved in case 2 is slightly less than the latency involved in case 1 (a few nanosecond difference). Is this the expected behavior?

twood02 commented 5 years ago

That seems odd. A couple questions:

kkrama commented 5 years ago

Also, it may depend on how cores are allocated (maybe 1?) for case 1 when you have all the NFs running on one server. If you have the core bottlenecked, then it might be possible that it contributes more delay than even going over the network multiple times to get to the other server and back. Depends on how much work is done on the core...

On Sun, Apr 21, 2019 at 9:03 AM Tim Wood notifications@github.com wrote:

That seems odd. A couple questions:

  • How exactly are you measuring latency?
  • How are you generating traffic at the first NF?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sdnfv/openNetVM/issues/108#issuecomment-485262940, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6TUJIJW5W2AG6TE67QESTPRSF3ZANCNFSM4HHLKMYA .

-- K. K. Ramakrishnan

madhura-a commented 5 years ago
madhura-a commented 5 years ago

Yes sir, I have assigned one dedicated core to each network function in both case 1 and case 2.

twood02 commented 4 years ago

Closing this as no longer active. If you have further questions, let us know.