>-----Original Message----- >From: Shellex Wai [mailto:[email protected]] >Sent: Sunday, April 08, 2012 8:20 PM >To: [email protected] >Subject: [E1000-devel] Need helps about to limit the number of cores ixgbe >driver uses. > >Hi there, > >Thank you for awesome work. > >I have a Linux workstation with 48 cores and runs ixgbe driver for >fiber interface. And I have to test a project name >Netmap(http://info.iet.unipi.it/~luigi/netmap/ ) on it. > >NetMap is a high performance network framework for high speed >interfaces, which has been ported to Linux recently. For some reasons, >I must try it on the machine. > >So I compile it and follow the instructions to run the test problems, >but it doesn't work. > >I check dmesg and it says: > >[10399.085736] 794.159015 netmap_set_ringid [486] ringid o4o1 set to >all 48 HW RINGS >[10399.085742] 794.282011 netmap_obj_malloc [220] netmap_if request >size 816 too large > >I asked Luigi Rizzo for help, whom is the author of netmap, told me >that I have too many cores in the machine and it should work if I tell >ixgbe use less cores (2 to 4 is ok).
You can limit the number of queues by using the RSS module parameter. This parameter only exists on the out-of-tree driver from SF: insmod ./ixgbe.ko RSS=2 If you are testing with in-tree kernel then I suppose you can limit the number of CPUs from the kernel command line. Thanks, Emil ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
