kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Custom Linux Kernel Scheduler issue
@ 2016-11-24  7:01 Kenneth Adam Miller
  2016-11-24  7:18 ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Kenneth Adam Miller @ 2016-11-24  7:01 UTC (permalink / raw)
  To: kernelnewbies

Hello,


I have a scheduler issue in two different respects:

1) I have a process that is supposed to tight loop, and it is being
given very very little time on the system. I don't want that - I want
those who would use the processor to be given the resources to run as
fast as they each can.


2) I am seeing with perf that the maximum overhead at each section
does not sum up to be more than 15 percent. Total, probably something
like 18% of cpu time is used, and my binary has rocketed in slowness
from about 2 seconds or less total to several minutes. I think that
the linux scheduler isn't scheduling it, because this process is just
some unit tests that double as benchmarks in that they shm_open a file
and write into it with memcpy's.

Can anybody help tell me what kind of linux kernel configuration could
cause this? The kernel is configured as SMP with preemption possible
as a desktop...

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-25  2:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24  7:01 Custom Linux Kernel Scheduler issue Kenneth Adam Miller
2016-11-24  7:18 ` Greg KH
     [not found]   ` <CAK7rcp9ih36KP5sL3_4QQhKvsofCJ8_um5tSW78jgj4pR42cYA@mail.gmail.com>
2016-11-24 15:31     ` Fwd: " Kenneth Adam Miller
2016-11-24 16:13       ` Greg KH
2016-11-24 16:33         ` Kenneth Adam Miller
2016-11-24 18:05           ` Kenneth Adam Miller
2016-11-24 18:47             ` Greg KH
2016-11-25  2:23               ` Kenneth Adam Miller
2016-11-24 18:46           ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).