Thomas
the cluster size set to 8 is to set a reasonable upper limit. What would you 
expect as limit?

Also, why do you want to increase the number of slots? It has been configurable 
as people might experiment with it, but in general enlarging the number of 
slots you have a larger buffer (and thus more time to handle traffic peaks) but 
at the same time you increase cache misses and thus performance. if the vmalloc 
cannot find memory, it can report the error. So I don't see major benefits 
changing defaults.

Luca

On Jul 6, 2011, at 12:14 AM, Adayadil Thomas wrote:

> Hello and greetings!
> 
> Is there a reason for having the CLUSTER_LEN set to 8 in pf_ring
> kernel module? And how is it related to the module parameter
> min_num_slots and caplen?
> By default, the min_num_slots will be 4096. If I change that to 16384,
> and try adding 8 sockets to a cluster I get a kernel panic. I am
> trying to understand the relation between the parameters here.
> 
> In all cases when the clusternum * caplen * min_num_slots is greater
> than a certain number, the vmalloc_user in the kernel gives issues and
> a panic happens. I don't know the reason, is there a limit to how much
> vmalloc_user() can allocate?
> 
> Please note that this is for linux kernel 2.6.18.194.
> 
> Thanks for the help.
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

---
If you can not measure it, you can not improve it - Lord Kelvin

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to