Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!lamaster From: lamaster@ames.arc.nasa.gov (Hugh LaMaster) Newsgroups: comp.arch Subject: Re: Context Switch Time, A worst Case Keywords: Context switch, register files, saving world Message-ID: <17258@ames.arc.nasa.gov> Date: 28 Oct 88 16:07:39 GMT References: <4908@thorin.cs.unc.edu> Reply-To: lamaster@ames.arc.nasa.gov.UUCP (Hugh LaMaster) Organization: NASA Ames Research Center, Moffett Field, Calif. Lines: 21 In article <4908@thorin.cs.unc.edu> davis@clocs.cs.unc.edu (Mark Davis) writes: >In this condition, it switches context about 100 times per second (10 >times faster that required by quantum). We have measured context >switch time at about 1 ms (about the same as reported in literature). >In this case, 10% of the time is spent switching context. (This is > > My question is, how much of this context switching time is due to saving the hardware state (my guess is that this is small) relative to the cost of going through the scheduler to figure out what the next process to run is (probably large)? -- Hugh LaMaster, m/s 233-9, UUCP ames!lamaster NASA Ames Research Center ARPA lamaster@ames.arc.nasa.gov Moffett Field, CA 94035 Phone: (415)694-6117