Re: linux equivalent

From: Andrew Taylor (ataylor_at_its.to)
Date: 09/03/04


Date: Fri, 03 Sep 2004 19:15:12 GMT

shane_lca wrote:

> Actually following interfaces are found in Solaris.
> But these functions are not supported on Linux.
> pset_assign(2) - manage sets of processors
> pset_bind(2) - bind LWPs to a set of processors
> pset_create(2) - manage sets of processors
> pset_destroy(2) - manage sets of processors
> pset_getattr(2) - set or get processor set attributes
> pset_info(2) - get information about a processor set
> pset_list(2) - get list of processor sets
> pset_setattr(2) - set or get processor set attributes
>
> Does linux provide any equivalent interfaces which can
> be used instead of these interfaces?

GNU libc provides an interface to get the number of processors and to
bind processes and threads to a set of processors:
http://www.gnu.org/software/libc/manual/html_node/Processor-Resources.htm
http://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html

-- 
Andrew


Relevant Pages

  • (LONG) Looking for a few book-checkers
    ... Embedded Linux is harder to use than "regular desktop" ... Realtime characteristics are not as good as a "to the metal" ... master controller interfaces to several tiny subcontrollers which have ...
    (comp.arch.embedded)
  • Re: KDE
    ... Sid/Alan/Bruce/whatever also has severe ego issues. ... the GDE as much as he does, even if this only the case in his ... These interfaces, ... Linux OS and make them dependent on the technocrats. ...
    (comp.os.linux.setup)
  • Re: Servers just doent work (after followingthe troubleshooting page)
    ... It does have to do with the way Linux responds to certain network function calls that used to result in it using the wildcard socket. ... Changing the default and adding a new flag to get the default back would have been better. ... If it's going to be a platform-specific flag, it should be carefully arranged so that specifying *no* platform-specific flags gets you as close to the same behavior on all platforms. ... It is a platform-specific flag if the *effect* of binding to virtual interfaces is different on different platforms. ...
    (comp.protocols.time.ntp)
  • Re: Why so hard to setup hardware? Control panel?
    ... Different linux distrubitions have ... > different interfaces at the various levels of abstraction. ... SuSE have some customisations in their KDE ... I can get a much more consistant interface than I've ever seen in Windows. ...
    (comp.os.linux.setup)
  • Re: Multiple default routes on multiple interfaces
    ... >and two interfaces for my linux box. ... I just want failover between the two lines, ... >with next-hop detection if possible. ... >single interface and single IP on the linux box. ...
    (comp.os.linux.networking)