Sponsored Content
Full Discussion: Context Switching
Top Forums UNIX for Advanced & Expert Users Context Switching Post 31878 by Perderabo on Thursday 14th of November 2002 11:14:30 AM
Old 11-14-2002
You need to spend time looking at these numbers. Then you can compare one system to the others. And you can see how the number change over time. This is how you deduce whether or not a number is normal.

5000-6000 is high and I'm not sure that I have ever seen a higher value. We have a very powerful and busy 4 cpu server whose cs's are in the 800 to 1200 range...which is high but not unusual for this server during a busy day.

Looking at stats is especially important if you are perforance tuning. You really want to know cs'es before and after the timeslice was tweaked. I have never tweaked the timeslice, but I would expect the the involuntary context switches would go way up and scheduling latency to drop somewhat. Why was this change made? Unless you were having some real-time scheduling problems or something, we might want to consider putting it back.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

keep context in awk

here is a data file. ------------------------------------- KSH, CSH, BASH, PERL, PHP, SED, AWK KSH, CSH, BASH, PERL, PHP, BASH, PERL, PHP, SED, AWK CSH, BASH, PERL, PHP, SED, KSH, CSH, BASH, PERL, PHP, SED, AWK ------------------------------------- My desired output is... (2 Replies)
Discussion started by: VTAWKVT
2 Replies

2. Shell Programming and Scripting

grep help after context

Hi, There's a file with below contents which I have to read based on the input parameter provided by the user. FILE_ID=1 FILE_FTP_ID=ftp.server1.com FILE_FTP_USER=user1 FILE_FTP_PASS=pass1 FILE_ID=2 FILE_FTP_ID=ftp.server2.com FILE_FTP_USER=user2 FILE_FTP_PASS=pass2 FILE_ID=3... (6 Replies)
Discussion started by: dips_ag
6 Replies

3. UNIX for Dummies Questions & Answers

Context-switching question

Hi all, I've got this question that i need to solve: "Type `vmstat -s; vmstat -n 1 5; vmstat -n 1 5; vmstat -s` to your Ruby interpreter. Then terminate your Ruby session. Run the Unix com- mand vmstat -s; vmstat -n 1 5; vmstat -s in the same terminal window you had been using for Ruby. Did... (1 Reply)
Discussion started by: snowboarder
1 Replies

4. Homework & Coursework Questions

context-switching - vmstat

Hi all, I've got this question that i need to solve: "Type `vmstat -s; vmstat -n 1 5; vmstat -n 1 5; vmstat -s` to your Ruby interpreter. Then terminate your Ruby session. Run the Unix com- mand vmstat -s; vmstat -n 1 5; vmstat -s in the same terminal window you had been using for Ruby. Did... (1 Reply)
Discussion started by: snowboarder
1 Replies

5. Homework & Coursework Questions

Context-switching - vmstat

1. The problem statement, all variables and given/known data: Type `vmstat -s; vmstat -n 1 5; vmstat -n 1 5; vmstat -s` to your Ruby interpreter. Then terminate your Ruby session. Run the Unix com- mand vmstat -s; vmstat -n 1 5; vmstat -s in the same terminal window you had been using for... (2 Replies)
Discussion started by: snowboarder
2 Replies

6. Linux

involuntary context switching

In a kernel based on 2.6.27: In the schedule() routine they have a local variable switch_count: /* * schedule() is the main scheduler function. */ asmlinkage void __sched schedule(void) { struct task_struct *prev, *next; unsigned long *switch_count; struct rq... (2 Replies)
Discussion started by: chriskot
2 Replies

7. UNIX for Dummies Questions & Answers

Regarding context to add in a file

Hi Folks, I have one query is that I can reach to a location of a file named Integration_Config_3.properties through putty cd /usr/local/pos/jlan/config/byStore/il ls -ltr I can open this file in vi editior also vi Integration_Config_3.properties But now my query is I want to add the... (3 Replies)
Discussion started by: SankalpS
3 Replies

8. UNIX for Advanced & Expert Users

Interupt Context Switching

If suppose a middle level interrupt is being serviced and a high priority interrupts comes in then in that case what all process will take place. The interrupt context switch will happen. But where will the interrupt context be saved? Is there something called as part process data area? (4 Replies)
Discussion started by: rupeshkp728
4 Replies

9. Shell Programming and Scripting

Confusion with "su -c" and quotes, user context switching?

Trying to execute commands for different Unix user with that user's environment variable context without fully switching as that user using sudo && su capabilities. Hoping this would help with security and not having to waste time switching between 10 different app users on same server. I do... (6 Replies)
Discussion started by: kchinnam
6 Replies

10. Shell Programming and Scripting

Questions related to if in awk context and if without awk context

I wrote this code, questions follow #! /bin/bash -f # Purpose - to show how if syntax is used within an awk clear; ls -l; echo "This will print out the first two columns of the inputted file in this directory"; echo "Enter filename found in this directory"; read input; ... (11 Replies)
Discussion started by: Seth
11 Replies
artswrapper(7)							       Arts							    artswrapper(7)

NAME
artswrapper - used to set real-time priority to artsd, the KDE sound system SYNOPSIS
artswrapper [OPTION] DESCRIPTION
artswrapper gives artsd the capability of running with real-time scheduling priority. This helps prevent audio skips and jumps. Except for the check option, artswrapper passes all other arguments directly to artsd. Artswrapper calls the arguments after setting the real-time priority and dropping privileges (if running as setuid root). The real-time status is passed to artsd via the environment variable STARTED_THROUGH_ARTSWRAPPER, and can be one of the following values: unset (not running as real-time), 1 (running as real-time), 2 (no privileges to set real-time scheduling), or 3 (no support for real-time scheduling). OPTIONS
check backward compatibility with old artswrapper. This only prints "okay" and exits. SECURITY
artswrapper must be used as setuid root to have privileges to set real-time scheduling. BUGS
Sometimes artsd locks the system on exit in 2.4 kernels. If this happens, use aKode library, which improves the CPU usage, helps maintain uninterrupted sound, and remove the setuid bit from artswrapper (thanks to Debian documentation and Christopher Martin). SEE ALSO
artsd, artsdsp AUTHOR
Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com> KDE Multimedia Jun 01, 2006 artswrapper(7)
All times are GMT -4. The time now is 03:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy