From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,9162fb4f61af163a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-09 00:10:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: Peter Newsgroups: comp.lang.ada Subject: Reduce scheduling interval on Linux... Date: Sat, 09 Nov 2002 09:08:54 +0100 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1036829403 91193 137.194.161.2 (9 Nov 2002 08:10:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sat, 9 Nov 2002 08:10:03 +0000 (UTC) Return-Path: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:30625 Date: 2002-11-09T09:08:54+01:00 On Red Hat linux a delay 0.0; would mean that process (thread) will be out of processing for 10 (ms) by default. This is a kernel configuration, and a good value in many cases. For my application I would like to reduce this time to maybe 1 (ms), or try to optimise it to the perfect value for the application. Yes, I know I am trying to make a RTOS of something that is not, but this is really the only thing missing, and the advantages of having a full system at least for development makes me rather accept 10 (ms) that to have to cross compile all the time. Has anyone been changing this and could point me in the right direction. Tried to do this once on Red Hat 7.0....but only got confused by the parameter names and the comments around them in the kernel.... Are you aware of any other full systems, beeing it Linux, BSD or whatever were this value is lower or easily could be changed ? ( Yes I am aware I will take away lots of machine power with this short scheduling times, but power is not yet an issue) Thank you for any help on this Peter Atterfj�ll @Home peter@atterfjall.pp.se