Browse by Tags

Related Posts

  • CPU Scheduling Simulator (CPUSS) 0.2 released!

    This release includes a few new scheduling strategies including: Priority First (PF) Round Robin (varying time quantum) Download CPUSS 0.2 As you might expect in CPUSS 0.1 the Process type had no notion of a priority and by default all processes unless stated otherwise have a medium priority. RR - few...
    Posted to Granville Barnett (Weblog) by gbarnett on 02-15-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Open Source, CPU Scheduling, CPUSS
  • Creating a quick scheduling simulation using CPUSS

    Just a quick note, and most is self explanatory ( download CPUSS here ). I'll talk about the code after. using System; using System.Collections.Generic; using Cpuss; using Cpuss.Strategies; namespace ConsoleApplication1 { class Program { static void Main() { Runner runner = new Runner (20, 10, 65, new...
    Posted to Granville Barnett (Weblog) by gbarnett on 01-31-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Open Source, CPU Scheduling, CPUSS
  • CPU Scheduling Simulator (CPUSS) 0.1 released!

    I have an interest in CPU scheduling strategies so I thought I would make a framework ( CPUSS ) by which you could use standard strategies (first-come-first-served, shortest job first, round robin, priority etc) and also create your own and gather metrics from the strategies execution given n processes...
    Posted to Granville Barnett (Weblog) by gbarnett on 01-30-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Research, Open Source, CPU Scheduling, CPUSS
  • CPU Scheduling Simulator (CPUSS) 0.3 released

    Download CPUSS 0.3 In this release the new features include: CPU Activity for each process (so you can perform more in depth analysis) Average wait time (average processes spent in the ready queue) Lightweight logger (persists data to a SQL Server database, wraps a LINQ to SQL datacontext) Expert strategy...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-05-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Open Source, CPU Scheduling, CPUSS
  • CPUSS: Using the SJF Expert Rule

    The SJF Expert Rule strategy is designed to elevate the priority of large processes based on a precondition defined by the user, that basically says if the current % of processes in the ready queue is greater than N then execute some of the large processes thus elevating their priorities. SJF is as you...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-12-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Research, Open Source, CPU Scheduling, CPUSS, Operating Systems, Windows
  • CPU Scheduling Simulator 0.4 Released!

    Download CPUSS 0.4 A fairly minor release with a little work cleaning the API up a little by reducing ambiguity (definition of ProcessLoad, and Pairs collections). Also added an event that allows you to subscribe to process preemption, as well as scattered priorities for auto generated process loads...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-14-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Open Source, CPU Scheduling, CPUSS
  • CPU Scheduling Simulator 0.5 released!

    Download CPUSS 0.5 I got bored today (I really should be preparing for stuff I have coming up in the next few days!!) looking at random stuff in preparation for the next few days, so I broke off for a while and decided to finish up CPUSS 0.5 release which contains: Process resumed event Min/Max wait...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-16-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Open Source, CPU Scheduling, CPUSS, Operating Systems
  • Getting average wait times for processes with certain properties via predicate functions

    This is the first time really that passing in a predicate function has made sense. I use the Func<T0, ...> type that takes a Process parameter and returns a bool, below is an example of using the overridden version of GetAverageWaitTime with a predicate function – here only processes with a burst...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-22-2008, 12:00 AM
    Filed under: C#, Open Source, CPU Scheduling, CPUSS
  • CPU Scheduling Simulator 0.6 released!

    Download CPUSS 0.6 Some cool new features added in this release, they include: Variance Standard Deviation CPU Busy Time CPU Idle Time Get average wait time for a category of process (this uses a predicate function) I am tempted to say that this build is pretty much feature complete, any further additions...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-22-2008, 12:00 AM
    Filed under: .NET, Algorithms, C#, Software Development, Research, Open Source, CPU Scheduling, CPUSS, Operating Systems
  • Variance and standard deviation of process wait times with CPUSS

    Getting the variance and standard deviation of process wait times over the course of the simulation is really simple, it's simply a call to a few methods. Note: in CPUSS 0.7 there will be overloads for GetVariance and GetStandardDeviation that accept a predicate function so you can get the stats on specific...
    Posted to Granville Barnett (Weblog) by gbarnett on 03-22-2008, 12:00 AM
    Filed under: .NET, C#, Open Source, CPU Scheduling, CPUSS
Page 1 of 2 (15 items) 1 2 Next >