Showing posts with label virtualisation. Show all posts
Showing posts with label virtualisation. Show all posts

27 Nov 2008

Serendipity? (Part 4)

Some readers may know of my recent fun getting my laptop, and getting it up and going. I've been using the laptop some more now, and I'm finding more and more things to like about it and its setup. It's a really neat laptop, and I consider it quite a bargain.

I finally got around to setting up Ubuntu 8.10 on it. Despite my struggles with its installer, I now have a fairly ‘standard’ crypto setup, wherein hibernation actually works (after a couple of false starts). This is a biggie to me: I run my last laptop 24/7 because there isn't a good way to hibernate it, and this is not good for the laptop's longevity. Heck, my last laptop is only 11 months old, and it looks twice its age.

What I mean by ‘standard’ crypto setup is one that's quite similar to that created by the Ubuntu installer: namely, a big crypto partition that houses an LVM physical volume, within which you set up all your logical volumes. This is quite an improvement on the old, hacky way I set up crypto on my laptop, which was to set up a big LVM physical volume, with each logical volume encrypted separately. The old setup is bad because that means that the LVM data structures are unencrypted, and also that the logical volumes are not transparent: you'd have to know to decrypt them on each use. Evidently, too, it is also bad enough to prevent hibernation from working.

Both my old and new laptops have nVidia graphics cards in them, though the old one has a (apparently) dinky GeForce Go 6100, whereas the new one has a GeForce 8400M GS. This means that while the old laptop can't really do a very good job of using Compiz (at least without freezing the computer on occasion), the new one just breezes through it.

I've installed VMware Workstation 6.5 on the new laptop (since getting 6.0.5 to work on Ubuntu 8.10 is a huge pain, you'd have to hack vmmon to make it work with 2.6.27 kernels), and it's neat (even though I detest having to use their installer). I can run two virtual machines simultaneously without having one stall the other excessively (as has happened with the old laptop); this is a big deal given that:

  1. They both use a fair amount of memory (2 GB and 1 GB respectively)
  2. I run them with all memory allocated in host memory; this is because the virtual machines are fairly disk-intensive and I don't need VMware's memory swapping to add to that load
  3. Both laptops has just 4 GB of RAM (since it only has two DIMM slots, and 2 GB DIMMs are the biggest affordable type you can get; 4 GB DIMMs are hugely expensive)

Oh, but on using virtual machines, the most useful thing about the new laptop is that the wireless card (Intel PRO/Wireless 4965, as opposed to the old laptop's Broadcom BCM4311) supports promiscuous mode. This means I can have guests use bridge mode networking; previously, I'd have to set them all up to use NAT mode.

So yes, that's my initial impression after a day of using the new setup on the new laptop. So far, I must say I'm very impressed; I look forward to more pleasant surprises! :-)

16 Nov 2008

Serendipity? (Part 1)

Last night I was looking at the Dick Smith website, looking for a special on a laptop I could use with hardware virtualisation (this is not just a performance issue—my work is done in a 64-bit virtual machine, and it's impossible to run 64-bit guests without HV—on VMware, at least for Intel processors; and on VirtualBox, across the board).

I found one, the HP Pavilion dv5-1004ax, which, being an AMD system, would fit the bill just fine. Only one problem: they're very short on stock on them, and they're not really generally available anymore. But the Sylvia Park branch apparently had 3 available this morning (which means, in practical terms, at most one new one; the others are demos and returns). The salesperson on the phone said he'd hold it for me, so I thought I'd go there and see.


When I turned up, the salesperson asked me to wait while he fetched the laptop for me. When he came back, about a quarter of an hour later (just how long does it take to retrieve a unit?!), I noticed that the box did not have the HP seal on it, and I queried him about it; what happened to the new one?

Apparently sometime earlier in the morning, someone bought the last new one, and he ‘thought’ that this one was new too, just that there was a customer who demanded to have a look at the unit, and that was why it was opened. I said, okay, let's have a look at the laptop; I could at least see what the state of the laptop bag seal is (if the laptop bag seal was intact, I'd treat it as completely new).

However, not only was there no laptop bag seal, there was no laptop bag at all! I thought that was highly suspicious, and told him so, and asked him what happened to the bag. He said there was none. Yeah, right! I've bought many laptops before (we currently have 7 at home, and most of them are HP), and I know better. Okay, let's have a look inside the laptop.

Two things were instantly obvious. The touchpad was full of fingerprint marks, and the screen was coated with dust. That meant only one thing: it was a demo unit! I was not at all impressed that he was trying to sell me a demo unit as new, without any discount. He said he'd talk to the manager to see how much he could knock off the price.

In the end, the most he could do was $100; he said that the manager normally only discounted $50 for demo units, and that the $100 discount was a special dispensation over the fact that I came here on the understanding that a new laptop would be available. I thought, yeah right, whatever; I was seeking a $200 discount. But I figured I'd talk to The Ferret and see what she'd say about it all.


When I went back to tell the salesperson that no can do, he was tied up with other customers, so I thought I'd look around and see what other laptops there were around. One of the ones I spotted, also selling for cheap, was the HP Pavilion “Thrive” SE dv6723tx; it was much like the “Influx” SE dv6819tx, but with a T7500 processor (which is exactly what I needed). So I asked another salesperson (let's call him salesperson 2) about it.

He told me that that was the last unit left; there are no new ones, anywhere (which I know to be a fact). So I asked him what he can do for me, in terms of discount. Initially he offered me extended warranty, and a ‘starter pack’ thrown in for free, but neither of these things did anything for me, so he offered a $100 discount. This was acceptable to me (hey, the starting price wasn't bad to begin with, and nobody tried to pass it off as a new laptop), but I'd talk to The Ferret about it first, anyway.

Upon my return, salesperson 2 was tied up with another person, and the manager (whom salesperson 1 spoke with) came by, and I explained that I'd like to buy that laptop, with the $100 discount that was agreed to. The manager looked shocked; he couldn't believe that a $100 discount was being offered, and explained that normally with display units, the discount is $50. Well, not my problem. (At $50 discount, I would have been much less willing to part with my money.)

Salesperson 2 then returned, glad that I was back to place the order. However, the manager wasn't nearly as glad that the $100 discount was being offered; it turned out that, because the laptop was already on clearance discount, the $100 discount would put the sale price at parity with the cost price. I felt really bad for salesperson 2, especially because if their staff work on a commission basis, he'd get $0 from that sale. However, far be it from me to complain about the price!

Salesperson 2 was very good-natured about it though, and was very helpful for the whole transaction. So there are definitely good people at the Sylvia Park Dick Smith; don't let my earlier section dissuade you from shopping there!


Anyway, I'm pretty pleased with my new purchase, and with the excellent service I got from salesperson 2; I don't yet have time to play with it, what with all the work I currently have, but The Ferret is drooling all over it (I said to her that if she liked the chassis of the “Thrive” one better than the “Influx” one, I'd be willing to swap with her, after swapping the CPUs). I look forward to giving it a go in a couple of days!

15 Nov 2008

When you buy Intel, you get what you pay for

After all that drama with trying to get cheap laptops on specials, it's time to return them! At least most of the ones I'm returning are unopened, so they can resell them ‘as new’.

Okay, okay, the one I got from Noel Leeming (HP Pavilion dv6914tx), that was my bad, for not checking out on the Core 2 Duo specifications on the CPU first. That CPU (T5750) was listed in the table, as one that doesn't support hardware virtualisation.

But I also took advantage of a couple of other specials too (HP Pavilion “Influx” SE dv6819tx, and Sony VAIO VGN-NS15G), and their CPUs (T5850 and T5800 respectively) aren't even listed! How could I know whether a CPU supports hardware virtualisation if it isn't listed?!

Now, reading up on the web revealed that I could replace the CPU (the HP manuals go into great lengths to explain how to accomplish this, so it's obviously a supported procedure), but the only comparable CPU currently available, a T7500, will cost me $400 to get, which would completely negate the savings I made from the specials, and put me back to square one.

In comparison, my current laptop (which I got for even cheaper), a Compaq Presario F573AU (with an Athlon X2 TK-53 processor, i.e., not even a Turion), is the dinkiest laptop of all the ones we have at home; it also happens to be the only one that supports hardware virtualisation (being the only laptop here with AMD instead of Intel).

So, that's why AMD rocks, and Intel can eat a donkey or something. :-)