You are not logged in.

#1 2010-01-25 00:18:35

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

[Solved IO/CPU]Determine currently running scheduler

This really isn't an issue so much as it is a general question: Is it possible to determine the currently used CPU scheduler in the kernel?
I've been using -ck after switching from -bfs but still using the BFS scheduler (so I hope). However, recently I noticed my cores aren't all maxed and I'm wondering if that has something to do with it not compiling with the proper scheduler, or if it has something to do with F@H, which has some messages I've never seen before about "Extra SSE boost OK"
I tried googling, and grep'ing through /proc, but I don't know where to look. Found some good articles on the programming behind them, though smile If it's not possible to find out while it's running, is there some way I could look at the binary or something? Thanks for your help.

Last edited by jac (2010-01-25 04:33:33)

Offline

#2 2010-01-25 00:36:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved IO/CPU]Determine currently running scheduler

[stijn@hermes ~]$ cat /sys/block/sda/queue/scheduler
[noop] anticipatory deadline cfq

If that is the kind of scheduler you're looking for, at least. I always get confused between IO and CPU schedulers...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-01-25 00:51:57

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved IO/CPU]Determine currently running scheduler

% dmesg | grep BFS
BFS CPU scheduler v0.313 by Con Kolivas.

Offline

#4 2010-01-25 01:59:04

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: [Solved IO/CPU]Determine currently running scheduler

B wrote:
[stijn@hermes ~]$ cat /sys/block/sda/queue/scheduler
[noop] anticipatory deadline cfq

If that is the kind of scheduler you're looking for, at least. I always get confused between IO and CPU schedulers...

I think that is the io scheduler since it's listed under sda.

Offline

#5 2010-01-25 04:33:09

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: [Solved IO/CPU]Determine currently running scheduler

falconindy wrote:
% dmesg | grep BFS
BFS CPU scheduler v0.313 by Con Kolivas.

D,oh! Didn't even cross my mind to check dmesg, thank you! It seems it's worknig fine, so it is something different with F@H

@B: Thanks, now I know how to get the io scheduler when I screw with that too

Offline

#6 2017-09-07 02:45:51

cancerberosgx
Member
Registered: 2017-09-07
Posts: 1

Re: [Solved IO/CPU]Determine currently running scheduler

zcat /proc/config.gz |grep CONFIG_DEFAULT_IOSCHED

Offline

#7 2017-09-07 03:10:10

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [Solved IO/CPU]Determine currently running scheduler

Please do not necrobump, especially solved threads.

Offline

#8 2017-09-07 03:15:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved IO/CPU]Determine currently running scheduler


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB