login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
17
Re: SCHED_FIFO and SCHED_RR broken by cfs
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: SCHED_FIFO and SCHED_RR broken by cfs
Date: Sunday, August 17, 2008 - 6:04 am
On Sunday 17 August 2008 00:53, Peter Zijlstra wrote:
quoted text
> On Sat, 2008-08-16 at 11:55 +0200, Stefani Seibold wrote: > > Hi kernel hackers, > > > > it seems that the new completely fair scheduler breaks the SCHED_RR and > > SCHED_FIFO realtime scheduler. > > > > In my opinion a high priority real time user process with SCHED_FIFO > > should be only interrupted by the kernel or a process with an higher > > priority. So a user process running under SCHED_FIFO and priority 99 > > should never be interrupted by any other process. This was true under > > kernel 2.6.20. > > > > On my pentium/celeron III/400 MHz system with kernel 2.6.20 a busy loop > > using the "time stamp counter" of the x86 cpu for delaying, this was > > very accurate. The max. jitter of the delaying was about 5 microseconds. > > > > With the new kernel 2.6.26 the jitter is about 51177 microseconds or in > > other words 51 milliseconds or more the 10000 times greater than kernel > > 2.6.20. This huge latency is far away from realtime. > > > > Below are the results of the attached test program. Maybe somebody else > > can confirm this results. All measurements was done with no other > > process running, only the busybox 1.11.1 shell and the init process was > > there. > > Has nothing to do with CFS, but everything to do with the fact that we > now have a 95% bandwidth control by default. > > Does doing: > > echo -1 > /proc/sys/kernel/sched_rt_runtime_us > > fix it? > > So, up to 95% cpu usage (per sched_rt_period_us) FIFO and RR behave like > they always did, once they cross that line, they'll be throttled. > > 95% seemed like a sane default in that it leaves a little room to > recover from a run-away rt process (esp handy now that !root users can > also use RT scheduling classes), and should be enough for most > applications as they usually don't consume all that much time.
Did it seem sane to break POSIX and backwards compatiblity by default? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
SCHED_FIFO and SCHED_RR broken by cfs
, Stefani Seibold
, (Sat Aug 16, 2:55 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Peter Zijlstra
, (Sat Aug 16, 7:53 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Stefani Seibold
, (Sat Aug 16, 9:26 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Stefani Seibold
, (Sat Aug 16, 2:29 pm)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Nick Piggin
, (Sun Aug 17, 6:04 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Dario Faggioli
, (Sun Aug 17, 3:15 pm)
[PATCH] sched: rt-bandwidth disable fixes
, Peter Zijlstra
, (Mon Aug 18, 3:47 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Peter Zijlstra
, (Mon Aug 18, 3:50 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Nick Piggin
, (Mon Aug 18, 3:58 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Peter Zijlstra
, (Mon Aug 18, 4:09 am)
Re: [PATCH] sched: rt-bandwidth disable fixes
, Peter Zijlstra
, (Mon Aug 18, 4:11 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Nick Piggin
, (Mon Aug 18, 4:24 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Peter Zijlstra
, (Mon Aug 18, 4:51 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Nick Piggin
, (Mon Aug 18, 5:14 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Max Krasnyansky
, (Mon Aug 18, 11:01 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Peter Zijlstra
, (Mon Aug 18, 12:46 pm)
Re: SCHED_FIFO and SCHED_RR broken by cfs
, Nick Piggin
, (Tue Aug 19, 12:44 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate