Blog

  • During some down time this evening, I watched the below YouTube video clip filmed and produced by Veritasium and I absolutely loved hearing about his journey, especially about how becoming a father has fundamentally changed the way he views his time. Because I’m in a similar boat: My life looks nothing like it did a…

    Quotes from “My life story” by Veritasium
  • As system designers, our goal is to design a “black box” system that create an illusion that our users have full and independent access to the underlying hardware of the system. This is merely an abstraction since we are building multi-tenant systems with many applications and many virtual guest machines running on a single piece…

    Introduction to virtualization (notes)
  • Yesterday Writing Blogged and published an entry describing my naive scheduler for project 1 Emotions I disassociated and my mind wandered into its “own world” after my wife Jess asked me to watch Elliott later that afternoon.  I think part of the reason why I got so worked up had less to do with her…

    Daily Review – Day ending in 2020/09/07
  • A couple days ago, I spent maybe an hour whipping together a vary naive CPU scheduler for project 1 in advanced operating systems. This naive scheduler pins each of the virtual CPUs in a round robin fashion, not taking utilization (or any other factor) into consideration. For example, say we have four virtual CPUs and…

    A naive round robin CPU scheduler
  • I fixed a silly bug just now and wrote working code that can pin multiple virtual CPUs to the physical CPUs. Identifying the bug in my code was another classic example of how I needed to distance myself from the problem. Instead of staying up late into the night (late is now 09:30 pm on…

    Distancing oneself from a difficult problem
  • Writing I’m getting much more comfortable with publishing blog posts that are not completely polished. The fear of letting the world see less my less the perfect propose is utter non-sense. In fact, writing and publishing frequently offers two benefits. The first is that the sheer act of writing and setting words on (digital) paper…

    Weekly Review – Week ending in 2020/09/06
  • Project 1 requires that we write a CPU scheduler and memory coordinator. Right now, I’m focusing my attention on the former and the objective for this part of the project is write some C code that pins virtual CPUs to physical CPUs based off of the utilization statistics gathered with the libvrt library (I was…

    Advanced Operating Systems (Project 1) – monitoring CPU affinity before launching my own scheduler
  • Yesterday Writing Blogged and published an entry for my daily review Blogged and published an entry explaining the libvrt’s bit map data structures that map virtual CPUs to physical CPUs Music Noodled around on the guitar,  playing chords in a minor key up the neck (need to start structuring and mixing up my practice sessions…

    Daily Review – Day ending in 2020/09/04
  • On my iPad this morning, I doodled the above figure to help me better understand how I should be calling the function virDomainPinVcpu (as part of project 1 for my advanced operating systems course).  The function requires two parameters which I found a bit confusing: a pointer to the cpu map (i.e. bit map) and…

    Making sense of libvrt bit map when calling virDomainPinVcpu
  • Writing Blogged and published an entry for my daily review Blogged and published an entry on L3 Microkernel Mental and Physical Health At the park, ran around in circles while holding Elliott in my arms … that sort of counts as exercise, right? Music Nothing at all Graduate School Migrated from my Virtualbox environment to…

    Daily Review – Day ending in 2020/09/03