Re: [dpdk-users] How to receive packets from non-DPDK requests?

2018-11-14 Thread Sungho Hong
Thanks for the reply, but excluding the ARP, Is it possible to receive POSIX TCP or UDP packets using DPDK-application? Because DPDK application for me right now, only recognizes the packets sent from DPDK only. But by the sound of it, and based on your reply DPDK can receive packets from

[dpdk-users] How to receive packets from non-DPDK requests?

2018-11-14 Thread Sungho Hong
Hello DPDK users, I am trying to receive the packets from non-DPDK requests, Currently, I am trying to send ARP requests, but it seems that DPDK application only understands the packets that are sent by DPDK. Is there some configuration that needs to be done in order to receive non-DPDK

[dpdk-users] Correct way to free the received packets after ip-assembly

2018-11-06 Thread Sungho Hong
nf, cur_tsc); * // attempted to free from here ** but failed * } *// attempted to free from here ** but failed * rte_ip_frag_free_death_row(>death_row, PREFETCH_OFFSET); } *// attempted to free from here ** but failed * - Any insight on this issue would be greatly appreciated. Best Sungho Hong

[dpdk-users] Understanding the Proper way of using ip fragmentation

2018-11-05 Thread Sungho Hong
Hello DPDK experts, I am having trouble applying ip fragmentation in multiple cores. *My ultimate questions is whether it is possible to have multiple ip fragmentation table allocated with each different direct and indirect pool. * Really thankful if somebody can point out what I am doing wrong

[dpdk-users] Understanding the Proper way of using ip fragmentation

2018-11-04 Thread Sungho Hong
Hello DPDK experts, I am having trouble applying ip fragmentation in multiple cores. *My ultimate questions is whether it is possible to have multiple ip fragmentation table allocated with each different direct and indirect pool. * Really thankful if somebody can point out what I am doing wrong

[dpdk-users] Understanding the Proper way of using ip fragmentation

2018-11-04 Thread Sungho Hong
Hello DPDK experts, I am having trouble applying ip fragmentation in multiple cores. Really thankful if somebody can point out what I am doing wrong here. *Purpose* I am trying to apply ip fragmentation in multiple cores, and maximize the throughput performance with messages that are bigger than

[dpdk-users] Is it possible to use multiple ip fragmentation table?

2018-11-02 Thread Sungho Hong
Hello DPDK experts, I am trying to allocate multiple ip frag table for each rx-queue. For example, for loop of rx-queues per logical cores if ((rxq->frag_tbl = *rte_ip_frag_table_create*(max_flow_num, IP_FRAG_TBL_BUCKET_ENTRIES, max_flow_num, frag_cycles,

[dpdk-users] How to distribute socket_id from logical cores?

2018-11-01 Thread Sungho Hong
Hello DPDK experts I am trying to assign 8 rx-queue with each different socket ids from different logical cores. For example I am using for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) socketid = rte_lcore_to_socket_id(lcore_id); to get the socket id and trying to assign the pools.

Re: [dpdk-users] Ideal design to use ip-fragmentation using multiple lcores

2018-10-31 Thread Sungho Hong
Thank you very much for the reply, this cleared things up. So in that case, I need a single frag-table correct? so If I want to receive using multiple rx-queues, the fragmented data can arrive at different queues, which means I cannot have multiple frag-table. And does this imply that I have to

[dpdk-users] Ideal design to use ip-fragmentation using multiple lcores

2018-10-30 Thread Sungho Hong
Hello DPDK experts, I have a question of how to ideally use ip fragmentation and assemble using N number of logical cores each associated with tx queues. Should the ip fragmentation table be single received by a single rx-queue? Because I am not sure whether I will receive all the fragmented

Re: [dpdk-users] Why DPDK latency is high when sending message in interval?

2018-10-28 Thread Sungho Hong
the rest of the interval (so > that you still have maximum precision). > > You may want to have a look at this > https://academic.oup.com/comjnl/article/61/6/808/4259797 , specially > sections 4.3 and 4.1. > > Cheers, > Vincenzo > > Il giorno dom 28 ott 2018 al

Re: [dpdk-users] Why DPDK latency is high when sending message in interval?

2018-10-28 Thread Sungho Hong
Thank you very much for the reply. But in that case, should I busy wait, to create the delay?

[dpdk-users] Why DPDK latency is high when sending message in interval?

2018-10-27 Thread Sungho Hong
Hello DPDK experts, I'am testing the performance of DPDK not on high speed polling but sending each packet with 100 microsecond interval. As same as the POSIX, DPDK performance degrades into 90 ~ 100 microsecond round-trip latency per 4KB message. Is there a way to improve the performance,

[dpdk-users] Why DPDK latency is high when sending message in interval?

2018-10-26 Thread Sungho Hong
Hello DPDK experts, I'am testing the performance of DPDK not on high speed polling but sending each packet with 100 microsecond interval. As same as the POSIX, DPDK performance degrades into 90 ~ 100 microsecond round-trip latency per 4KB message. Is there a way to improve the performance,

[dpdk-users] No flow type supported (IP fragmentation) for Mellanox NIC?

2018-09-20 Thread Sungho Hong
Hello DPDK users, I was struggling with the packet fragmentation, since the dpdk application(l3fwd, ip-fragmentation, ip-assemble) did not recognized the received packet as the ipv4 header. At first, I have crafted my own packets when sending ipv4 headers so I assumed that I was crafting the

[dpdk-users] the usage of IP address in DPDK

2018-09-16 Thread Sungho Hong
Hello DPDK users, I have been struggling with how to use the ip fragmentation provided by DPDK. and was wondering I have the correct concept of IP address and the MAC address used in rte-mbuf ethernet header. Is Ip address alone in the header of rte-mbuf used to transfer from local to remote? I

[dpdk-users] The purpose of Reorder Library and IP fragmentation in DPDK

2018-09-15 Thread Sungho Hong
Hello, DPDK users, I am trying to send 4096 byte of message by splitting the message into 4 packets. However, Simply sending the messages in bursts does not guarantee that the messages will be received in order. For example if I send 3 messages in 3 bursts I receive messages like this below

[dpdk-users] low performance of send and receiving single message in RTE_RING

2018-08-31 Thread Sungho Hong
Hello, DPDK-users, I am wondering whether there is a good explanation for high latency caused by rte_ring when testing the round-trip latency using 1 burst in (tx rx queue). I have tested the performance using two nodes (client and server) and calculated the elapsed latency of the round-trip of

Re: [dpdk-users] Proper way of notifying the application that DPDK received messages

2018-08-29 Thread Sungho Hong
Hi Stephen thanks for the reply, but, what I am asking is using while loop on the rx-queue the proper way for applications to use DPDK for sending and receiving data? Or is there any notification mechanism that works even in polling-mode?

[dpdk-users] Proper way of notifying the application that DPDK received messages

2018-08-29 Thread Sungho Hong
Hello currently, I'am using dpdk by sending and receiving the packets in to the rte-rings. I'am having difficulty of finding the proper way of to notify the application that the DPDK received incoming messages. In order to check the whether the rte_ring has received the data or not, I run a busy

Re: [dpdk-users] stalled after receiving 8000 rte_mbuf (4096 byte)

2018-08-13 Thread Sungho Hong
Thanks. that was the problem.

[dpdk-users] stalled after receiving 8000 rte_mbuf (4096 byte)

2018-08-12 Thread Sungho Hong
Hello I am developing a project with DPDK but have encountered a silly issue, that is not obvious to me. I am sending and receiving 4kb rte_mbuf between remote and local node, that alone works fine, however when I combine the implemenation with 3rd party library, the DPDK stops receiving the

[dpdk-users] Bad IO-latency when sending one rte_mbuf at a time

2018-07-19 Thread Sungho Hong
Would it be possible to know how I can improve the performance of a round-trip latency of a single message? (Or is this not ideal for DPDK?) Best Sungho Hong

Re: [dpdk-users] locating the address of rte_mbuf payload

2018-07-14 Thread Sungho Hong
Thank you very much Rosen Your reply gave me good ideas of how to solve the problem. I've found out the solution by comparing the message size(that I am sending) with the actual data_length of the rte_mbuf. That way I was able to allocate the location of my data. Best Sungho Hong On Sat, Jul

[dpdk-users] locating the address of rte_mbuf payload

2018-07-13 Thread Sungho Hong
Hello I have sent the packet with the data "hellohellohello*" in a message struct using DPDK struct message{ data[PKT_SIZE] } I am sending this data from a client to server, and the server receives this data. the data received in the server can be viewed from the packet dump provided

[dpdk-users] Questions about locating the rte_mbuf payload

2018-07-13 Thread Sungho Hong
Hello I have sent the packet with the data "hellohellohello*" in a message struct using DPDK struct message{ data[PKT_SIZE] } I am sending this data from a client to server, and the server receives this data. the data received in the server can be viewed from the packet dump provided

[dpdk-users] How to get the timestamp of the packets

2018-03-25 Thread Sungho Hong
? there is nothing mentioned in the docs nor the references. Sungho Hong

[dpdk-users] How to check the packet size limit?

2017-12-15 Thread Sungho Hong
size of the RTE-BUF and the pools for each client and server before increasing the size of the packets. Does this problem have to do with the NIC architecture? If so, is there a document to find out the correct limit size for the packets? Thank you for reading this letter Sungho Hong

[dpdk-users] Preventing DPDK packet loss in L2 forwarding

2017-12-14 Thread Sungho Hong
:4237 since my implementation is just pingpong and have very simple implementation, I don't believe that there should be any packet losses in my case. Thank you for reading this letter Sungho Hong

[dpdk-users] Problems with running DPDK test suite

2017-09-18 Thread Sungho Hong
INFO: DTS ended Thank you for reading this letter Sungho Hong