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
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
To: 'Denis Shcherbakov' <deniss@...>, gentoo-admin@g.o
From: "Ciaravino, Tido" <tciaravino@...>
Subject: RE: confine process on SMP system
Date: Fri, 20 Dec 2002 18:48:32 -0500
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [gentoo-admin] confine process on SMP system</TITLE>

<P><FONT SIZE=2>You can probably turn off hyperthreading in the BIOS</FONT>
<BR><FONT SIZE=2>(which would reduce your 4 virtual processors to two real)</FONT>

<P><FONT SIZE=2>What kernel are you using?</FONT>
<BR><FONT SIZE=2>&nbsp; See gentoo bugzilla bug 11095 (and vote for it!!!)</FONT>

<P><FONT SIZE=2>Hope this helps,</FONT>


<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Denis Shcherbakov [<A HREF="mailto:deniss@...">mailto:deniss@...</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, December 20, 2002 5:50 PM</FONT>
<BR><FONT SIZE=2>To: gentoo-admin@g.o</FONT>
<BR><FONT SIZE=2>Subject: [gentoo-admin] confine process on SMP system</FONT>

<P><FONT SIZE=2>Hello,</FONT>

<P><FONT SIZE=2>Can someone tell me if it's possible to assign a certain task to a certain</FONT>
<BR><FONT SIZE=2>processor and keep it there (lock it)?</FONT>

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

<P><FONT SIZE=2>What do you think is the best way to deal with such an issue?&nbsp; I only have</FONT>
<BR><FONT SIZE=2>this happen with the C++ code.&nbsp; When I ran 4 simultaneous instances of C</FONT>
<BR><FONT SIZE=2>code for 7 hours, the system remained stable.</FONT>

<P><FONT SIZE=2>Thanks in advance!</FONT>

<BR><FONT SIZE=2>gentoo-admin@g.o mailing list</FONT>

gentoo-admin@g.o mailing list
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
confine process on SMP system
Next by thread:
killed portage during update of perl
Previous by date:
confine process on SMP system
Next by date:
killed portage during update of perl

Updated Jun 17, 2009

Summary: Archive of the gentoo-admin mailing list.

Donate to support our development efforts.

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