Skip to content


Xen 4.2: New scheduler parameters

Xen 4.2 will contain two new scheduling parameters for the credit1 scheduler which significantly increase its confurability and performance for cloud-based workloads: timeslice_ms and ratelimit_us. This blog post describes what they do, and how to configure them for best performance.

Timeslice

The timeslice for the credit1 has historically been fixed at 30ms. This is actually a fairly long time — it’s great for computationally-intensive workloads, but not so good for latency-sensitive workloads, particularly ones involving network traffic or audio.

Xen 4.2 introduces the tslice_ms parameter, which sets the timeslice of the scheduler in milliseconds. This can be set either using the Xen command-line option, sched_credit_tslice_ms, or by using the new scheduling parameter interface to xl sched-credit:

# xl sched-credit -t [n]

Continued…

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Xen Hypervisor.

Tagged with , , , .


My Journey with Xen

Hi everyone!

I’m Wei Liu, a graduate student who is pursuing his master’s degree from China. If you read posts on blog.xen.org from time to time, you might remember me. I was participant of Google Summer of Code 2011 and worked on “Virtio on Xen” project for Xen.org. It turned out that I managed to contribute my humble two cents to open source Xen during GSoC, so Citrix (the backing company of Xen.org) offered me an internship position in Cambridge, UK.

The internship is almost over, so I thought it would be nice to share my experience of GSoC, working for Xen platform team, what I’ve learned and what I’ve accomplished so far.

Talking about GSoC now seems weird, but the point is I never wrote about it last year after I finished my project, so it is worth mentioning it now. Further more, GSoC is the starting point when I started to seriously work for open source Xen, it will make a good beginning of my story.

Continued…

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Community, Xen Development.

Tagged with , .


Why CloudStack joining Apache is good news!

Today, Citrix and the Apache Software Foundation (ASF) announced that it will relicense the CloudStack open source project under the Apache License and contribute the CloudStack code to the ASF. Before I explain why this is good for the Xen community and the Open Cloud, I wanted to congratulate CloudStack to become the first cloud platform in the industry to join the ASF.

CloudStack has always been open source, with Citrix as the vendor behind the project. Moving from a privately operated open source community to the ASF has a number of implications: Citrix is giving up control over the project and it is moving to a collaborative and meritocratic development process, which values community, diversity and openness. For a community guy like me this is really exciting!

So why is this good news for Xen? In fact, the internal discussions preceding this decision already made a big impact: more staff within Citrix are engaged with open source and are actively supporting and understanding projects such as Xen, Linux and of course CloudStack. My experience as open source guy in various organisations is that open source and community can be easily made the responsibility of a few people and then be forgotten about. However, to be truly successful in the long haul, knowledge and support for open source in an organization needs to be broad. In the last few months the level of understanding and support for Xen across Citrix has increased hugely. You may not yet see the impact of all this: good initiatives and change need planning and take time. Don’t get me wrong: on many counts Xen is a very successful project. We have an active developer community, we have a huge user base, many successful products and businesses were built on Xen, etc. But the project could have done and can do better!

When I was at Scale 10x earlier this year, Greg DeKoenigsberg from Eucalyptus said in his keynote that most cloud projects are open source today, well sort of! To me that said it all: the more cloud related projects move from single vendor driven projects to independent and community driven projects, the better for the user and the “Open Cloud”. Why? Simple: independent projects increase the user’s ability to be in control of their infrastructure by influencing the projects they care about. Thus, CloudStack becoming an Apache project, is a major milestone for achieving a better and more open cloud. Of course, the same thinking lies behind the creation of the OpenStack Foundation, which we will hopefully see later this year.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Partner Announcements.

Tagged with , , .


Xen 4.2 Release Plan Update

We have hit the next milestone in the release plan for Xen 4.2:

  • 19 March — TODO list locked down
  • 2 April — Feature Freeze WE ARE HERE
  • Mid/Late April — First release candidate
  • Weekly — RCN+1 until it is ready

We are therefore now in Feature Freeze for Xen 4.3! Patches which have been posted before or which address something on the TODO list are still acceptable (for now, we will gradually be getting stricter about this), everything else will be deferred until 4.3 by default.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Xen Development, Xen Hypervisor.

Tagged with , .


XenSummit 2012 Call for Participation

Dear Community Members,

Just a quick reminder that, the CFP for XenSummit is open and that all submissions must be received before midnight May 1, 2012 PDT. You have one month to get your submissions in. Note that this is much earlier than in previous years!

I will also shortly announce the Program Managament Committee: if you are interested in joining the PMC, please get in touch with me by next week. We also still have sponsorship opportunities. If you are interested, please contact me at community.manager@xen.org.

XenSummit in North America will be held from Aug 27-28, 2012 in San Diego, CA, USA. The event will be overlap with the Linux Kernel Summit and be immediately before LinuxCon North America 2012 and Linux Plumbers Conference. All these events will be in the same venue.

You can find more information on the XenSummit events page.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Community.

Tagged with , .


Xen Documentation Day: March 26th


We have another Xen document day come up next Monday. Xen Document Days are for people who care about Xen Documentation and want to improve it. We introduced Documentation Days, because working on documentation in parallel with like minded-people, is just more fun than working alone! Everybody who can contribute is welcome to join!

For a list of items that need work, check out the community maintained TODO and wishlist. Of course, you can work on anything you like: the list just provides suggestions.

How do I participate?

  • Join us on IRC: freenode channel #xendocday
  • Tell people what you intend to work on (to avoid doing something somebody else is already working on)
  • Fix some documentation
  • Help others
  • And above all: have fun!

Interesting items on the TODO list

I just went through our community maintained Docs Day TODO list and thought I’d highlight some items:

  • A feature status document that shows which features work in which Xen release! That would be something for our developers to create!
  • Admin docs covering topics such as “Setting boot order for domUs (PV and HVM)”, “Chaining pypxeboot and pygrub”, etc. Any proficient Xen user can help put these together!
  • Reviewing Wiki main page categories such as Beginners could really benefit from YOUR input. It would help to see whether the documents in a category are useful to YOU and which ones should be highlighted in a trail.
  • There is also some easy Wiki maintenance work that needs doing: some of it is as easy as formatting. Anybody who knows could do this!

Personally, I will be working on:

  • A new “Why Xen” and maybe “Which Xen” document, to help people decide whether Xen is for them and what flavour of Xen is best
  • I will also be working on content for the new xen.org website

I am looking forward to the day and hopefully documentation days will become a regular Xen event. See you on IRC!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Community.

Tagged with .


Xen 4.2 Release Plan

Since early January I have been tracking the status of work left to do before 4.2 by posting a weekly roundup of the remaining blockers and “nice to haves”. You can find these in the xen devel list archives, posted most Monday mornings.

Last week I decided that the TODO list had reached the point where it was time to start thinking about a release. I made a proposal for a release timeline which was generally agreed to be a reasonable plan.

In summary the plan is as follows (see the list posting for more details):

  • 19 March — TODO list locked down WE ARE HERE
  • 2 April — Feature Freeze
  • Mid/Late April — First release candidate
  • Weekly — RCN+1 until it is ready

The aim is to have a release around June time although as always this will be subject to the usual “when it is ready” test.

The TODO list was reposted this morning and contains the latest blockers and nice to haves.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Xen Development, Xen Hypervisor.

Tagged with , .


Xen Hackathon: Thank You!

It took me a while to write up my impressions from the first Oracle hosted Hackathon last week: I have to apologize for not being timelier. First, I wanted to thank Oracle for hosting the event and providing a beautiful venue in Santa Clara. Special thanks go to Doan Nguyen who did all the hard preparation work and to Konrad Rzeszutek Wilk who coined the cool event slogan “BE ZEN HACK XEN”, which miraculously ended up on the Hackathon T-Shirts.

Rather than write down my impressions only, I asked a few of the attendees to let me know their impressions. Not everybody provided the input in time: if you attended and want to add, just comment to this post.

Ian Campbell: I had a variety of very useful and interesting conversations on a number of topics. This is by no means a complete list! Especially interesting was a demo and code run through hybrid guest support (that is PV guests in a lightweight hardware container) developed by Mukesh Rathor. I am very interested in seeing these patches get into Xen!

Another discussion which sticks in my mind was a whiteboard session, working out the mechanism by which toolstacks based on libxl can expose the ability play dirty memory tricks (paging, sharing, ballooning etc.), which resulted in Andres Lagar-Cavilla making a more detailed proposal to the xen-devel list.

Further highlights were discussions on PV block protocol enhancements as well as the general state of FreeBSD support for Xen with Justin Gibbs. It was also very interesting to hear about Zhigang Wang’s plans for building a toolstack using libxl and a demo of how to set up Gluster from Eco Willson.

Stefano Stabellini: I had a great time interacting with Xen users that exploit Xen in ways we haven’t seen before. I had some good conversations with distinguished FreeBSD and Solaris developers on how to improve performances for their operating systems when running on Xen as PV on HVM guests.

And I certainly enjoyed watching Dom0 hybrid boot: thanks for Mukesh for all his hard work! Going through the changes he made to Xen and Linux, line by line, made me realize how difficult this project must have been, so it made the demo even more impressive.

Overall it has been a remarkable experience that has shown how high is the interest in Xen and how diverse the new development directions for the platform. All key ingredients for a healthy community.

I have met some Xen developers that I have not met before and also some Xen users! Of course there were also familiar faces. Given that I am not a developer myself, code reviews, demos and architecture discussions are interesting to watch but not my domain. For me, the highlight of the Hackathon was to actively work on the new Xen website with the web developers from Vertualize . We also managed to engage some of the Xen developers and users in the process. We made quite a lot of progress on the new look and feel, on lots of new Xen Pandas, on the navigation of the site, choosing and configuring the right set of plug-ins and much more. I will share some of the outcome of this work in the coming weeks and hopefully we will also be able to show live preview versions of the new site. Some of the more difficult questions, such as should we replace the user mailing lists with user forums are still open.

Thanks again to everybody who attended and made the event a success!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Community, Events, Xen Development.

Tagged with , .


Announcing Project Zeus: XenAPI in Fedora, CentOS and the EPEL

The XCP team would like to announce Project Zeus, our port of the XCP toolstack to Fedora and CentOS (through the EPEL). This is a follow-on to Project Kronos, which brought the XCP toolstack to Debian-based systems. This will give users the ability to do ‘yum install xcp-xapi’ to build a system that is functionally equivalent to the normal XCP. Our target for this project is Fedora 17, which will be released in May.

We don’t have any code to share yet, but packaging is currently underway. We will be able to reuse most of the work that we did in Project Kronos to port xapi to Debian, so Zeus should take significantly less effort to accomplish. I’d like to thank Pasi Kärkkäinen, M A Young, David Nalley and Eric Christensen for volunteering to lead the packaging effort. Here are some useful links:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Cloud Xen, Community, XCP, Xen-API.

Tagged with , , , .


Xen @ Virtual Build a Cloud Day

Virtual Build a Cloud Day will be dedicated to teaching users how to build and manage a cloud computing environment using free and open source software. The program is designed to expose attendees to the concepts and best practices around deploying cloud computing infrastructure.

I’ll be presenting the XCP talk tomorrow:

http://cloudstack.org/about-cloudstack/cloudstack-events/viewevent/52-virtual-build-a-cloud-day-session-1.html#Deshane

For more details of the event see:
http://cloudstack.org/about-cloudstack/cloudstack-events.html?categoryid=6

Even if you can’t attend all the sessions feel free to sign-up and we’ll make our best effort to get you links to recordings and slide decks after the event.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • email
  • LinkedIn
  • Slashdot
  • Technorati
  • FriendFeed
  • Twitter

Posted in Uncategorized.