{"id":300,"date":"2010-03-02T00:39:44","date_gmt":"2010-03-02T05:39:44","guid":{"rendered":"http:\/\/jamesdevine.info\/?p=300"},"modified":"2010-03-02T00:40:18","modified_gmt":"2010-03-02T05:40:18","slug":"sedf-cpu-scheduler-in-xen","status":"publish","type":"post","link":"https:\/\/jamesdevine.info\/index.php\/2010\/03\/sedf-cpu-scheduler-in-xen\/","title":{"rendered":"sEDF CPU Scheduler in Xen"},"content":{"rendered":"<p>By default the Xen Hypervisor uses the credit CPU scheduler. The sEDF (simple earliest deadline first) CPU\u00a0scheduler\u00a0can be used by setting the <em>sched <\/em>boot parameter equal to sedf. The easiest way to do this is by editing the grub boot loader config file, menu.lst. The file is located in \/boot\/grub\/menu.lst. The file must be edited by a root user (this can be done in Ubuntu by using the sudo command). This is\u00a0demonstrated\u00a0in the entry below. I just copied the existing Xen boot entry and added this one with the sched parameter so I could choose between schedulers at boot time.<\/p>\n<pre>title    Xen 3.3 \/ Ubuntu 8.04.3 LTS, kernel 2.6.24-26-xen sEDF SCHEDULER<\/pre>\n<pre>root     (hd1,0)<\/pre>\n<pre>kernel   \/boot\/xen-3.3.gz sched=sedf<\/pre>\n<pre>module   \/boot\/vmlinuz-2.6.24-26-xen root=UUID=e8c13945-5158 console=tty0<\/pre>\n<pre>module   \/boot\/initrd.img-2.6.24-26-xen<\/pre>\n<pre>quiet<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>By default the Xen Hypervisor uses the credit CPU scheduler. The sEDF (simple earliest deadline first) CPU\u00a0scheduler\u00a0can be used by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,17,23,26,37],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-general-information","category-linux","category-topics-in-virtualization","category-server","category-xen"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":294,"url":"https:\/\/jamesdevine.info\/index.php\/2010\/02\/xen-cannot-run-more-than-4-vms\/","url_meta":{"origin":300,"position":0},"title":"Xen Cannot Run More Than 4 VMs","author":"James Devine","date":"February 2, 2010","format":false,"excerpt":"I have been setting up a test Xen 3.3 box running on Ubuntu 8.04. I have been getting the following error: \"Device xxxx (vbd) cannot be connected. failed to find an unused loop device\"\u00a0\u00a0where xxxx is some number. It turns out that by default only 8 loopback devices are enabled.\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/jamesdevine.info\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":330,"url":"https:\/\/jamesdevine.info\/index.php\/2010\/05\/getting-hadoop-mapreduce-0-20-2-running-on-ubuntu\/","url_meta":{"origin":300,"position":1},"title":"Getting Hadoop MapReduce 0.20.2 Running On Ubuntu","author":"James Devine","date":"May 9, 2010","format":false,"excerpt":"I decided to setup a Hadoop cluster and write a MapReduce job \u00a0for my distrbuted systems final project. I had done this before with an earlier release and it was fairly straight forward. It turns out it is still straight forward with Hadoop 0.20.2, but the process is not well\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/jamesdevine.info\/index.php\/category\/general-information\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jamesdevine.info\/wp-content\/uploads\/2010\/05\/network.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":88,"url":"https:\/\/jamesdevine.info\/index.php\/2009\/03\/totally-awsome-gamming-pc-for-under-750\/","url_meta":{"origin":300,"position":2},"title":"Totally Awsome Gaming PC for Under $750","author":"James Devine","date":"March 12, 2009","format":false,"excerpt":"Back in September 2008 (before the severe economic downturn)\u00a0 it become clear that my 2 year old laptop was no longer powerful enough to handle the average work load, let along gaming. After months of searching and price hunting I put together the rig outlined in this post. Without cutting\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/jamesdevine.info\/index.php\/category\/general-information\/"},"img":{"alt_text":"vista-test","src":"https:\/\/i0.wp.com\/jamesdevine.info\/wp-content\/uploads\/2009\/03\/vista-test-300x225.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":2,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions\/302"}],"wp:attachment":[{"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesdevine.info\/index.php\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}