Re: [vpp-dev] How vpp choose the default base va 0x130000000ULL

2018-09-24 Thread wylandrea
p_object(...) ASSERTs on such an address, I know > that some bit of code forgot “clib_mem_set_heap(...),” and so on. > > > > D. > > > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *wylandrea > *Sent:* Friday, September 21, 2018 6:54 AM > *To:* vpp-dev@lists.fd.

[vpp-dev] How vpp choose the default base va 0x130000000ULL

2018-09-21 Thread wylandrea
Hi all, In function svm_get_global_region_base_va it use the fixed addr 0x13000ULL, just curious why to choose that addr? why it's not another address, like 0x23000ULL ? Thanks! /Yalei -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] Error when run 'socket_test.sh -bi docker-preload' for vcl

2018-09-20 Thread wylandrea
Hi all, Following the document: extras/vcl-ldpreload/README.md, but there will be error when building and running, and finally iperf3 test could not be completed as expected. After fix some compile/run path issue(https://gerrit.fd.io/r/#/c/14912/, not sure it's right way), I still got the error

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-17 Thread wylandrea
mment that >> out :-). If that’s not enabled, you can’t exchange file descriptors. >> >> Florin >> >> On Aug 15, 2018, at 5:43 AM, 汪亚雷 wrote: >> >> looks like APP not attach to the segment vpp created like /dev/shm/$pid >> >> I think may

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-16 Thread wylandrea
; I think maybe need add the related ssvm_segment_attach in L125 > in vl_api_application_attach_reply_t_handler, not sure, will test it. > > wylandrea 于2018年8月15日周三 下午12:10写道: > >> Thanks, Florin! I tried, but unfortunately got segment fault like >> below(pull from master today

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-15 Thread wylandrea
looks like APP not attach to the segment vpp created like /dev/shm/$pid I think maybe need add the related ssvm_segment_attach in L125 in vl_api_application_attach_reply_t_handler, not sure, will test it. wylandrea 于2018年8月15日周三 下午12:10写道: > Thanks, Florin! I tried, but unfortunately

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-14 Thread wylandrea
Thanks, Florin! I tried, but unfortunately got segment fault like below(pull from master today): The segfault caused by the mq=0x204005440, the addr could not be refered in APP side, looks like the address is alloc in segment_manager_init L293, I used the example vcl.conf you provided, just

[vpp-dev] Where could I find the example of vcl.conf

2018-08-14 Thread wylandrea
Hi Florin, vppcom_cfg_read_file will try to parse the vcl.conf, but where could I get the example? actually I want to have a try "use-mq-eventfd" Thanks! /yalei -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10142):

[vpp-dev] About the fifo-size parameter in app tcp_echo

2018-08-08 Thread wylandrea
Hi Florin, These days I tested the tcp_echo of master branch, and found an issue: when I set the fifo-size in client to value that lower then 16, it test will hang because nothing send to server and of cause no recv too. After some investigation, it is related to this lines in send_test_chunk.

Re: [vpp-dev] Assertion fails in external echo server/client

2018-08-07 Thread wylandrea
I just tested tcp_echo in master, don't reproduce this issue. /Yalei yexin (F) 于2018年8月7日周二 下午12:03写道: > Hi Florin, > > > > The problem observed is in v18.07, not the rc, and the line is at 1126 > (session = pool_elt_at_index ()), sorry for wrong version last time. > > > > - > >

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-08-05 Thread wylandrea
Thank you Florin for your detailed interpretation. :) /Yalei Florin Coras 于2018年8月3日周五 下午11:00写道: > Hi Yalei, > > Pretty much. We supported nginx forking at one point, but that code was > not maintained. > > I’m now working on refactoring vcl and in the process adding multiple > worker

[vpp-dev] About the vppcom_epoll_wait function in vcl

2018-08-03 Thread wylandrea
Hi, These days, I tested the vcl and get some confusion. I don't know whether I understand it right. Anyone could help me? looks like vppcom_epoll_wait implement in non-blocking mode, it will loop and check the fifo of the related sessions. Will vpp implement a blocking mode epoll_wait?

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-08-03 Thread wylandrea
Hi Dave & Florin, I am curious about this line "(and only with single workers)." ? could you light me some more? do you mean vcl support the APP which has one worker now, the app could not 'fork'? And as you mentioned, refactoring VCL infrastructure, is there a detailed plan? will it be