RHEL 6 Betas Drop Xen as Dom0 Host

For folks who’ve not yet noticed, the long foreshadowed dropping of Xen from RHEL6 for anything other than as a guest OS is still on:

Red Hat Enterprise Linux 6 Beta is supported as a Xen guest for the x86 and x86_64 architectures. Additionally, Red Hat Enterprise Linux 6 Beta can be used as both a Xen paravirtualized (PV) guest or as a Fully virtualized (FV) guest with PV drivers. Due to paravirtualized operations (pv-ops) being included in the kernel, the same kernel can be used for either mode of operation as well as for bare metal. There is no support for using Red Hat Enterprise Linux 6 Beta as a Xen host.

If you are using Xen with RHEL as the base for your virtualisation you’ll be wanting to look for alternatives..

Bugs in KDE 4.5.0 beta 2

If you’re running KDE 4.5.0 beta 2 from the Kubuntu PPA and are wondering why your widgets disappear every time you login, it’s because beta 2 has a bug where it gets really confused about which activity you are using – use meta-tab (windows-tab) to switch between them and you should eventually find what you’re looking for..

Also if you’re wondering why the “Printer Settings” option isn’t working any more and giving a strange error message, it’s because it’s now looking for a Python module which isn’t packaged in Ubuntu (kubuntu-ppa bug 591980), it’s complaining that:

systemsettings(22750)/python (plugin): Failed to import module
 Traceback (most recent call last):
   File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 64, in 
     import cupsutils.ppds
 ImportError: No module named cupsutils.ppds
 systemsettings(22750)/python (plugin): Failed to import module

In Debian the module it’s looking for is in the “python-cupsutils” package, but that’s not in Ubuntu.

Portable Hardware Locality (hwloc) Library v1.0 Released

One of the things that us HPC folks tend to get hot under the collar about is hardware locality, basically making sure that your memory accesses are as fast as possible by optimising where on the system you’re getting memory from and making sure your process doesn’t get moved further away. Just binding your processes to the cores they are on can make for a significant speed up so it’s well worth doing. If you’ve just got a single socket, or a pre-Nehalem Intel x86 system then your path to RAM has been pretty much identical wherever you are so the only benefits are from not moving away from your CPU cache lines but on AMD Opteron, Nehalem, Itanic, Alpha, etc you really should care a lot more about locality for best performance.

The open source Torque queuing system (which I help out with) does some of this already, if you compile it with –enable-cpuset and have the /dev/cpuset virtual filesystem mounted then before it starts a job on a node it will create a cpuset for that (based on what cores have been allocated on the node) and then put the HPC processes into that cpuset. If you’re using Open-MPI 1.4.x and have the environment variable OMPI_MCA_orte_process_binding set to core then each of the MPI ranks will bind itself to one of the cores within that cpuset.

All good ? Well not quite as Torque is reliant on /dev/cpuset being there and being able to parse the contents of it and Open-MPI 1.4.x uses the Portable Linux Process Affinity (PLPA) library which, as its name suggests, is only for Linux. So the good Open-MPI people looked at their PLPA library and decided it needed extending and teamed up with the INRIA libtopology team who were working on how you discover the topology of various architectures and decided to merge the two projects together under the banner of the Portable Hardware Locality (hwloc) library.

The Portable Hardware Locality (hwloc) software package provides a portable abstraction (across OS, versions, architectures, …) of the hierarchical topology of modern architectures, including NUMA memory nodes, sockets, shared caches, cores and simultaneous multithreading. It also gathers various system attributes such as cache and memory information. It primarily aims at helping applications with gathering information about modern computing hardware so as to exploit it accordingly and efficiently.

The portable bit of the name comes from the fact that it works on Linux, Solaris, AIX, Darwin, FreeBSD, Tru64, HP-UX and Windows (though with limitations on some architectures – e.g. Windows – which don’t expose all the info it needs) and can extended for other OS’s if people feel they need to scratch that itch (OpenVMS anyone?). This release is also embeddable into projects (such as Open-MPI 1.5) and I have an interest in Torque picking it up to improve and extend its cpuset support.

DECnet Now Orphaned in the Linux Kernel for 2.6.33

For those computer history buffs it is sad to learn that the Linux kernels DECnet code is going to be orphaned in 2.6.33, the git commit by Christine Caulfield says:

Due to lack of time, space, motivation, hardware and probably expertise, I have reluctantly decided to orphan the DECnet code in the kernel.

Judging by the deafening silence on the linux-decnet mailing list I suspect it’s either not being used anyway, or the few people that are using it are happy with their older kernels.

To be honest I’m surprised it’s lasted this long, the last time I used DECnet in anger was around 1997 I think..

Great Filesystem Quote

From Valerie Aurora on POSIX semantics:

It may not be POSIX, but the programmer’s intent is clear – no one ever, ever wrote “creat(); write(); close(); rename();” and hoped they would get an empty file if the system crashed during the next 5 minutes. That’s what truncate() is for.

πŸ™‚

Nokia N900 Finally Shipping According to Reuters (Updated x 2)

Finally we have some good news about the Nokia N900, according to Reuters!

HELSINKI, Nov 10 (Reuters) – Nokia (NOK1V.HE) has started deliveries of its new top-of-the-range model N900, a key product for the world’s top phone maker in its battle against rivals iPhone and Blackberry.

Nokia Chief Executive Olli-Pekka Kallasvuo said in a speech the company started deliveries of the phone on Tuesday.

The Nokia press site has not yet been updated, but hopefully soon..

Update: The Nokia Conversations Blog is now covering the shipping, saying:

Today sees the first batch of Nokia N900 handsets boxed up and shipped out on their maiden voyage into wild.

Hooray! Now does this mean that they are being shipped from the factory to the resellers, or are already at the resellers ready to go to customers ?

Update 2: Well it appears, according to this blog post, to be from the factory to resellers..

The shipments of the Nokia N900 have now started. The factories are now working full speed and the devices are on their way to distribution.

So it does look like Amazon won’t have theirs to ship to my friends in the US before I get to LA, so I’ll miss the chance to play with it for a while. Oh well at least they are shipping! πŸ˜‰

Quake 3 Arena – on the Nokia N900 ?

Wow, this is pretty impressive, there is a WIP port of Q3A to the Nokia N900 using the accelerometers to control movement and there are some videos up to see using the TV-out on the phone:

Someone even video’d a multi-player demo at the Maemo summit.. πŸ˜‰

It’s not publicly available (for the moment at least) from what I can tell, a comment on YouTube says:

Currently not (“yet” I’d guess) – but remember that this is just a work in progress / feasability study – this is only a developer version that got distributed over the weekend during the Maemo Summit 2009 in Amsterdam.

Still, looks fun! πŸ™‚

Lazyweb Questions After Reading the N900 Manual (updated)

Update: the document linked to below has either been removed or moved on the Nokia site, the link has gone 404. πŸ™

OK, so I spotted that the PDF manual for the Nokia N900 was online and so I grabbed a copy of it to read through. Of course, like all user manuals, it talks about lots of bits and pieces but doesn’t go into the technical details for some decisions, so as a result I’m puzzling over a couple of points. They are:

  1. Can you charge the phone whilst it is off ? Might sound like a silly question but the Neo Freerunner has to be on to charge.
  2. Is the Offline mode the N900’s version of Flight Mode or Airplane Mode ? The manual says that you can’t make or receive calls, no wifi, etc. But it goes on to say that “Calls may still be possible to the official emergency number programmed into your device”. I’m guessing that means that if you try that it’ll power up the GSM modem for that call, but it’s just a guess. (Page 33)
  3. Why can’t the A-GPS service use Wifi ? The manual says that only “a packet data Internet access point can be used.”. (Page 77)
  4. Whilst saying that most updates can be installed using the N900 itself the manual also says that “an update using the Nokia Software Updater may sometimes be necessary”. This is Windows only software – any chance of a Linux version, or can something like dfu-util be used instead ? (Page 85)
  5. Does the N900 automatic time update use NTP, GPS or the GSM time information some carriers provide (or some combination) ? (Page 97)

If you’ve any ideas or inside knowledge on any of those points I’d love to know!