]> The LambCutlet Disorganisation » Technology

The LambCutlet Disorganisation

3, 2, 1… Vista ReadyBoost!

Posted by Jonathan at 01:26:29 UTC on the 23rd of June, 2007

The ReadyBoost option in the autoplay dialogue when flash media is inserted

Having been using an Asus A7Jc since the last quarter of 2006 (having got rid of the old Samsung) and running Windows Vista since day one (pre-RC1 (build 5536), RC1 (build 5600), RC2 (build 5744) and now the released retail version (build 6000)), even the foresight of maxing out the “laptop” (as a 17″ widescreen tipping 4kg on the scales, it’s a desktop replacement really) to a generous 2 GiB of RAM, still isn’t quite enough considering how I abuse hardware via the dark art of multitasking. :P

As fully solid state drives are still extortionately expensive and/or don’t have the capacity of traditional magnetic platter harddrives, Vista allows the usage of compatible flash memory (like those used in USB thumbdrives or digital camera storage cards) to work alongside SuperFetch to improve system performance by using the flash memory to cache data that are typically small in size and would be randomly read from the harddisk.

Why is this? Whilst even the slow harddisk like those found in laptops would beat even the fastest commercial flash memory in sustained read and write speeds, flash memory access latency is typically 10 to 100 times faster by virtue of not having to wait from the data to come full circle on rotating platters, so when data is access is tonnes of random read/writes… flash memory has the upper hand.

For the average person using Vista, ReadyBoost is most obvious when enabled on systems with tiny physical RAM of under 1 GiB (Vista’s minimum requirement is 512 MiB) where the performance improvement approaches 50% faster! Systems with larger physical memories will see a sharper drop off in improvements less you happen to be one of those evil bastards (like me) that hammer a system close to or beyond available physical RAM.

So what about my experiences with ReadyBoost? Well, whilst I do have a thumbdrive and USB flash card reader… I really didn’t like the idea of having a system enhancement that dangled off a laptop (though by design, ReadyBoost will gracefully deactivate itself should the flash device fail and/or removed accidentally) so took advantage of the integrated SD/MMC/MS-PRO flash card reader where I could stick any one of the acceptable cards flush into the slot. ;)

Whilst the price differential between a 2 GiB and 4 GiB SD flash card was minimal, the recommended ratio between flash and real memory is 1:1. As I “only” have 2 GiB of physical RAM, I chose the former and in anycase, ReadyBoost actually compresses the cached data to a ratio of 2:1, so a 2 GiB will store roughly 4 GiB of data! Oh and the cache is encrypted with 128bit AES, which is as strong as the default encryption available with Vista’s EFS (per file/directory encryption) or BitLocker (full drive encryption), so wouldn’t have to worry about people snooping into one’s data should they get hold of said flash-cache.

After poking about on various online shops, I opted for a 2 GiB Transcend TS2GSD150 with superficially fit all the requirements for ReadyBoost. On receiving the goods and plugging it into the slot, Vista’s autoplay dialogue popped up and plumbed for the “Speed up my computer using Windows ReadyBoost” option.

Drive properties tab when Vista ReadyBoost is enabled

Disappointingly, the tests came back saying the device was not up too the job, even with a few clicks in the properties tab to get Vista to retest the device. Figuring that the integrated card reader might be the bottle neck, I decided to full format the card using FAT32 and on checking the property pages, see that the card was now suitable for ReadyBoost! Wooh!

I can only guess that the default FAT16 formatted card was something that didn’t agree with ReadyBoost (formatting as just FAT will be FAT12 or FAT16. In any case, FAT32 is a more robust filesytem of the 3 and is the only way to make use of cards that are larger than 2 GiB, so this should always be the first choice for ReadyBoost.

Why not NTFS you ask? Whilst ReadyBoost does support Microsoft’s (as of Vista) transactional filesystem, it has too much overhead for such usage and is ill suited to the architecture of NAND flash anyway. In an ideal world, Microsoft would have added NAND specific filesystem support (akin the Opensourced JFFS2 or YAFFS) for ReadyBoost, eliminating the square-peg-round-hole situation as current.

Is the difference noticeable? So far, things look good… having let things cache for a while, one thing that annoyed me in Firefox when switching to Flash and/or AJAX laden pages if a 30-something second lag where the browser does jack-shit plus a lot of disk thrashing (not helped by the fact I have around 250 tabs open across 6 windows… parallel web-browsing at its finest!) are reduced to a mere couple of seconds and minimal disk thrashing! Wooh!

Even better though is for those of you guys and gals that are buying a cutting edge laptop this latter half of 2007 as ReadyBoost’s sister feature, ReadyDrive can be made use of by laptop featuring hybrid harddrives (traditional platter harddrive but with integrated NAND cache) or system platforms like Intel’s Santa Rosa with Robson technology without the need to attach dangly bits to one’s laptop and/or use up an integrated flash reader slot! :D

Filed under: Technology, Software

Eeek! It’s phpBB.com! :D

Posted by Jonathan at 09:27:21 UTC on the 19th of March, 2007

Sometimes a single image says it best:

phpBB.com version 3's design

Most users ever online was 8680 on 19 Mar 2007 01:28:47

Perhaps there was some wisdom in Bertie feeding the server some honey in trying to make it go faster? ;) Sometime we just have to think on our feet. :D

Filed under: Meta, Technology, Software

Firefox from within the Minefield!

Posted by Jonathan at 00:38:33 UTC on the 2nd of August, 2006

Curiosity killed the cat… and set fire to the firefox. ;) Having read the extensive documentation on how to get Mozilla’s browser source from CVS, grab the various tools and applications then generally a lot of RTFMing plus a bit of trial an error, I finally compiled a working build for Windows from the “Reflow Refactoring” branch which passed WaSP’s Acid2 test:

The special “Reflow Refactoring” (REFLOW_20060603_BRANCH) branch of Minefield-3.0a1 which neatly passed the Acid2 test!

If it wasn’t enough to see Mr. Smiley in perfect form, I was also curious to see how Mozilla bug #18333 which requests that the XML content sink be fixed and made incremental, just like the HTML so that most XML document types, such as XHTML served as application/xhtml+xml can benefit from being able to render incrementally.

Grabbing the latest source, applying the patch and spinning off a build (not without a minor hiccup), the improvement in apparent performance (as the browser no longer locks as it builds the content) on larger documents are clear to see (using anime.svg):

Minefield-3.0a1 with the XML incremental content sink patch (bug #18333) just starting to rendering a large SVG file

Minefield-3.0a1 with the XML incremental content sink patch (bug #18333) nearly finished rendering a large SVG file

Minefield-3.0a1 with the XML incremental content sink patch (bug #18333) finished rendering a large SVG file without locking the browser for a few seconds

All this cool stuff is currently being hammered out under Gecko 1.9 and will form the basis of Firefox3 under the codename of “Gran Paradiso” with a pretty aggressive release schedule which should keep other browser vendors honest. According to Gran Paradiso Developement Schedule, Alpha 1 (Developer Preview 1) could land as early as October 2006 and Beta 1 (General Preview 1) just a few months later in February 2007, all culminating in a final release of Firefox3 in May 2007! ;)

Of course “Minefield”, which now appears to be the perpetual codename for Mozilla’s CVS HEAD code, will have by then moved on to the Next-Next-Next Big Thing™. :D

Filed under: Internet, Technology, Software

“Producing Open Source Software”

Karl Fogel’s “Producing Open Source Software” is a well written and highly informative book (licenced under open copyright , naturally! ;)) delving into the human side of opensource development. It demystifies how successful projects operate, the expectations of users and developers as well as the culture of free software. Certainly a “must read” regardless if you are pondering how best to contribute to something like phpBB, starting out yourself, or better manage one you are currently developing for! :D

Johnny Five Alive!

Posted by Jonathan at 19:22:31 UTC on the 5th of January, 2006

LEGO® MINDSTORMS™ NXT A New Year and another bout of CES madness! Considering that men never grow up and that all geeks have been brought up with LEGO®, playing with them before they could walk; LEGO Group’s latest product announcement is bound to cause some serious lusting… I’m pretty certain it’ll be relegating 250+ cm (100+ inch) flat-panel displays to second place for a lot of 2006 Christmas lists! ;)

From the press release it is quite apparent the robot is an advanced piece of kit:

The heart of the new system is the NXT brick, an autonomous 32-bit LEGO microprocessor that can be programmed using a PC, or for the first time in the retail offering, a Mac. After building their robots, users create a program within easy-to-use yet feature-rich software, powered by LabVIEW from National Instruments.

Downloading programs to an invention is easy. Users with Bluetooth®-enabled computer hardware can transfer their programs to the NXT wirelessly, or anyone can use the included USB 2.0 cable to connect their computer to the NXT for program transfer. The robot then takes on a life of its own, fully autonomous from the computer. The inclusion of Bluetooth technology also extends possibilities for controlling robots remotely, for example, from a mobile phone or PDA.

The little guy is going to be available online at www.LEGOshop.com and at selected electronics retailers come August 2006 for a fairly reasonable US$249.99 or CAD$379.99. Despite LEGO being a European, or more specifically a Danish company, there is nothing regarding the price of the NXT in Europe. However an educated guess of should put it somewhere between €200 to €250. :D

Filed under: Technology

Mozilla Firefox 1.5 is released!

The award-winning Web browser is better than ever. Browse the Web with confidence - Firefox protects you from viruses, spyware and pop-ups. Enjoy improvements to performance, ease of use and privacy. It’s easy to import your favorites and settings and get started. Download Firefox now and get the most out of the Web. — Do as they say! Get Firefox 1.5 now! :D