Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-admin
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-admin@g.o
From: Denis Shcherbakov <deniss@...>
Subject: confine process on SMP system
Date: Fri, 20 Dec 2002 17:50:15 -0500 (EST)
Hello,

Can someone tell me if it's possible to assign a certain task to a certain
processor and keep it there (lock it)?

There is a C++ code that runs on my dual processor system (with
hyperthreading).  4 processors are seen by Linux.  When one instance of
the code runs, everything is fine.  When 2 instances, it is also ok.  But
when 3 or 4 instances of the code run simultaneously, they crash my
machine.  I think this is a scheduling issue.  I have seen these processes
jump to a different processor in the midst of execution.  This could be a
problem, if two processes collide.

What do you think is the best way to deal with such an issue?  I only have
this happen with the C++ code.  When I ran 4 simultaneous instances of C
code for 7 hours, the system remained stable.

Thanks in advance!
Denis


--
gentoo-admin@g.o mailing list

Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
/etc config update integration
Next by thread:
RE: confine process on SMP system
Previous by date:
Re: /etc config update integration
Next by date:
RE: confine process on SMP system


Updated May 20, 2010

Summary: Archive of the gentoo-admin mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.