Bug 136010

Summary: issue threads / SCHED_RR
Product: [Fedora] Fedora Reporter: Loic Domaigne <loic-dev>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: kamil, pfrields, sebastien.decugis, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: http://nptl.bullopensource.org/phpBB/viewtopic.php?t=34
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-16 04:12:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Loic Domaigne 2004-10-16 19:09:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040922

Description of problem:
We have developped a simple program for testing the creation of
threads in the SCHED_RR class on multi-processors system.  

We have found an issue on IA32 architecture. Some threads do not get
started. 

Tests shown that the problem is reproducible on both NPTL and
LinuxThreads, on various kernel 2.6.x kernel version (vanilla or
Red-Hat tailored), as well various glibc 2.3.x version.

Whether the proposed test is broken, or there is an issue somewhere.
In that latter case, we believe this could be in the kernel. 

The test /test_schedrr3.c.gz/ can be downloaded from the NPTL Bull
Open Source forum.

Version-Release number of selected component (if applicable):
kernel 2.6.5-1.358smp

How reproducible:
Always

Steps to Reproduce:
1. download the /test_schedrr3.c.gz/, unzip and compile.
2. run the program. Start for instance 25 threads at prio 3 on a SMP
machine.

Actual Results:  The test times out showing the some threads didn't start.

Expected Results:  Theoritically, it should PASS. That is all the
threads are created and running in the SCHED_RR class at the given
priority. 

Additional info: 
IMPORTANT!
The test should be run on a multi-processor (>=2 CPUs) machine.
On a single-CPU machine, it must TIMEOUT.

Comment 1 Dave Jones 2005-04-16 04:12:28 UTC
Fedora Core 2 has now reached end of life, and no further updates will be
provided by Red Hat.  The Fedora legacy project will be producing further kernel
updates for security problems only.

If this bug has not been fixed in the latest Fedora Core 2 update kernel, please
try to reproduce it under Fedora Core 3, and reopen if necessary, changing the
product version accordingly.

Thank you.