From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261749AbUB0JYp (ORCPT ); Fri, 27 Feb 2004 04:24:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261751AbUB0JYo (ORCPT ); Fri, 27 Feb 2004 04:24:44 -0500 Received: from mail-08.iinet.net.au ([203.59.3.40]:16622 "HELO mail.iinet.net.au") by vger.kernel.org with SMTP id S261749AbUB0JYn (ORCPT ); Fri, 27 Feb 2004 04:24:43 -0500 Message-ID: <403F0CD7.5080305@cyberone.com.au> Date: Fri, 27 Feb 2004 20:24:39 +1100 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Sonika Sachdeva CC: Linux Kernel list Subject: Re: Linux scheduler Implementation details References: <403F0B66.A7920233@magnum.barc.ernet.in> In-Reply-To: <403F0B66.A7920233@magnum.barc.ernet.in> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Sonika Sachdeva wrote: >Hello List, > >I want to simulate the Linux Scheduler, ie Calculate the priorities, counters >and define to some extent how much time a given process will take to execute on >the system. Can anyone suggest some pointers? > > It is all in kernel/sched.c, so you can just make a simulator and plug that code in. This will perfectly model the scheduler behaviour given some input from your simulator, which is what you asked for. This has nothing to do with maximum realtime scheduling latency, of course.