On Tuesday, January 31, 2012 01:49:57 AM gene heskett did opine: > On Tuesday, January 31, 2012 01:33:48 AM Kent A. Reed did opine: > > On 1/30/2012 11:35 PM, gene heskett wrote: > > > So at the moment, I'm back to being bumfuzzled again. No clue what > > > I changed that would have screwed up the older emc-2.6.0-pre after > > > its been reinstalled. > > > > Me neither. The only time I have fired up the pre-releases has to > > check for occurrences of the "brand that shall not be named." I > > checked the Configuration Selector, made sure Axis came up, ran the > > sim/axis_mm demo, and then shut down. > > I found the answer! Another msg is approaching that I cross-posted back > to lkml. Fixed it right up and I believe this answer will be useful to > all who are running on a multicore system.
The crosspost didn't work apparently, came from the wrong email account I suppose. Anyway, the answer is 'taskset' see the manpage. So I wrote a 3 line script to use taskset to launch emc AND pin it to the 2nd cpu core. Runs sweet & likely 50% faster than I ever ran before once I get done fine tuning the base_thread time in the .ini file. 32 u-secs is only using 26% of that core, so there is room to play yet. The script: -------------- #!/bin/bash taskset 0x00000002 /usr/bin/emc -l & exit 0 -------------- Note the manpage explains that the 2nd argument above very obtusely. cpu0 would be 0x00000001, cpu2 then would be 0x00000004, cpu3 is then 0x00000008. etc etc. Bit wise control starting from the ls bit IOW. And if the cores are available, you can set it to use 2 or more. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Show business is just like high school, except you get paid. -- Martin Mull ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
