On 03/22/2013 02:25 AM, Jon Schipp wrote:
Is it possible to bind to a single CPU, say #4, with a _configuration_ like thiscpu(3):{ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, } I haven't been able to figure out the correct syntax.
Basically, if you already have 4 cpus on your machine, loading this file should be fine with e.g. trafgen -i conf -o eth0. Only CPU#3 will be used for transmission then. You're missing a space behind ':'. I've also noted a bug in trafgen and just fixed it, please pull. Thanks ! -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
