Marc, > can amavisd-new 2.5.1 (openSUSE 10.3) be configured to run with all child > processes (like virusscanner) only on core 3 and 4 of my QuadCore?
I believe Linux has a sched_setaffinity(2) system call, which sets process's CPU affinity. The attribute is inherited across fork and execve, so what is needed is to start amavisd from a process which sets its CPU affinity first. Alternatively, Perl has a syscall function, which can call any system service, so perhaps it can be coerced to call the sched_setaffinity with correct arguments. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/