Re: [vpp-dev] Regarding

2018-10-09 Thread Andrew Yourtchenko
Based on my experience with using it for session storage for acl plugin. Short answer - “it really depends on distribution of your keys and their evolution in time”. The bucket doubles upon a hash collision and converts into a linear search mode of there is still a hash collision then. It

[vpp-dev] Regarding

2018-10-09 Thread Prashant Upadhyaya
Hi, I am using clib_bihash_40_8_t (VPP version 18.01) The number of buckets is 65536. I am going to add 1 million records into the bihash. My application takes care that at any point of time there will never be more than 1 million records going into the bihash. Given the above, what should be

[vpp-dev] Regarding clib_bihash_40_8_t

2018-10-09 Thread Prashant Upadhyaya
I am using clib_bihash_40_8_t (VPP version 18.01) The number of buckets is 65536. I am going to add 1 million records into the bihash. My application takes care that at any point of time there will never be more than 1 million records going into the bihash. Given the above, what should be the

Re: [vpp-dev] Elog binary file format

2018-10-09 Thread Florin Coras
As for the crash, try right at the start of your main: clib_mem_init_thread_safe (0, 256 << 20) Florin > On Oct 9, 2018, at 4:55 AM, Aleksander Djuric > wrote: > > Correction: I've found all of unserialize_* functions. Trying to understand.. > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive

Re: [vpp-dev] Query regarding cli function handler

2018-10-09 Thread Dave Barach via Lists.Fd.Io
Debug CLI commands are executed in “process” [aka cooperating multitasking thread] context. As such, the stack has a fixed maximum size of 65K. See …/src/vlib/unix/cli.c, search for “.process_log2_n_stack_bytes = 16”… HTH… Dave From: on behalf of Alok Makhariya Date: Tuesday, October 9,

Re: [vpp-dev] Elog binary file format

2018-10-09 Thread Aleksander Djuric
Correction: I've found all of unserialize_* functions. Trying to understand.. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10777): https://lists.fd.io/g/vpp-dev/message/10777 Mute This Topic: https://lists.fd.io/mt/26875131/21656 Group Owner:

[vpp-dev] hqos: multicore and multi-network interface problem

2018-10-09 Thread avakili
Hi dears, QoS using hqos feature is working with single network interface and single core with following config: ##IT WORKS## dpdk {    dev :02:00.0 { num-rx-queues 2 hqos    }     }         cpu {   main-core 0   corelist-workers  1, 2, 3, 4  

Re: [vpp-dev] Elog binary file format

2018-10-09 Thread Aleksander Djuric
Thanks Florin! Thanks Damjan! I know about these tools, but both of them uses elog_read_file function, which is described in elog.h This function consist of 3 other functions: unserialize_open_clib_file,  unserialize and unserialize_close. If I right, the elog file parsing should be in

[vpp-dev] Query regarding cli function handler

2018-10-09 Thread Alok Makhariya
I am writing cli handler. Is there any stack limit for cli function handler ? What will happen if I define a large local variable inside function handler ? Thanks Alok -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10774):

[vpp-dev] VPP Ping

2018-10-09 Thread brayan ortega
Dear Folks, I would like to use "vppctl add trace" to see trace of vpp ping another machine (all ping packets are dropped). Is it possible to use trace in this case? Best Regards, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10773):

[vpp-dev] VPP Release 18.10: RC1 is tomorrow!!!

2018-10-09 Thread Marco Varlese
Dear all, Gentle reminder about -RC1 deadline happening tomorrow [1]. [1] https://wiki.fd.io/view/Projects/vpp/Release_Plans/Release_Plan_18.10 Regards, -- Marco V SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg