The Memory Issue

Memory has long been an issue for Chromebooks, but I didn’t understand why until recently. The incredibly high pixel count certainly wasn’t going to help things. To find out how they might cope with this issue, we caught up with Caesar Sengupta, Product Manager at Google for Chrome OS. I've never understood why Chromebooks always come with modest memory on-board. It isn’t a cost issue, certainly; memory is cheap. It's soldered on, and comes in denser packages so it’s not likely a space issue. Google's making a conscious choice to go small with memory. So, how do you cope 4 million pixels and just 4GB RAM? In this case, the first step is to render all pages at 1280 x 800, unless HiDPI assets are available. The final product is upscaled to the full 2560 x 1600, but the memory doesn’t take nearly the punishing you might expect; unless, of course, every site you visit has HiDPI assets.
 

 
Then there’s a user behavior problem that has long plagued Chrome OS. Tabs linger and multiply. An untidy user could tax the memory assets of any system with tab after tab of unread longreads and cat GIFs. With memory taxed, the OS will begin shuffling under used bits of data into a swap file on local storage, effectively an extension of system memory stored on your hard drive. Even the fastest SSDs are several orders of magnitude slower than RAM, so switching to a tab whose contents had been pushed to the swap file would briefly yield a blank screen as the content is brought back to system memory. The developers of Chrome OS had a mission: an operating system that lives and breathes entirely within system memory. That means, no swap file. And that means an often frustrating user experience. 
 
That same untidy user could bring a Chromebook to its knees with open tabs, and with no swap file, pages purged from memory are simply refreshed when focus is restored. Not that big of a deal, right? Say those tabs are actually your site’s content management system and dozens of tabs of research. Further, that you’ve just spent an hour putting together a great post, and tabbed away just long enough to verify a bit of research. Switch back to your CMS, the page refreshes, and your great post disappears into the ether. Surely, there's a better alternative. Please?
 


The Chrome OS BSOD (plus touch indicators)

 
Android enthusiasts will be familiar with compcache, a method of creating a compressed page file on system memory that can help alleviate memory shortages. Now called zram, this technique fits perfectly within Chrome's philosophy of speed over all other factors. Local storage options vary too much in speed for their speed targets with Chrome, so operating even the page file within memory is a logical step. In practice, zram is better, not great. When a page is purged completely, you get the Chrome BSOD equivalent and an option to reload. This alleviates system slow downs that arose from automatically refreshing each page as you tabbed through them. I haven't noticed any particular slow down that might indicate that a given page's data was being recalled from zram, which could be a good sign. But there's no changing the fact that slicing a piece away from that 4GB for use as a page file isn't nearly as effective as adding another 4GB. 
 
Why Not Android? Display
Comments Locked

74 Comments

View All Comments

  • Crono - Friday, May 31, 2013 - link

    I don't mind when reviews talk about design aspects or aesthetics. But the focus on the subjective seems out of place on AnandTech. It's not a bad review overall, and I don't want to sound too negative (I appreciate the effort it takes to write reviews), but when we start to factor in whether a piece of hardware or a computer is a "status symbol" or not into review, I think we're in danger of losing sight of the tangible, quantifiable elements of computing and well-built machines.
  • themossie - Saturday, June 1, 2013 - link

    "Status" is the only way to judge this computer - that and a premium (albeit minimalist) experience.

    Judging the Chromebook Pixel from a purely technical standpoint would be silly - it's not based on offering superior value for money or superior functionality. There is no direct economic justification to buy this computer.

    But some will buy it anyways. It's all about 'feel' - the OS as much as the physical machine itself. If a consumer can live with the pure web functionality, you get a bulletproof OS with a gorgeous screen and case - for a pricetag which can only be justified by "status" and a luxury experience.

    For the right person, this could be the ultimate minimalist laptop.

    I'm sure Google doesn't expect this to be a high-volume product; if they did, they would have cut the price significantly. Instead, they were looking for a truly premium halo product to - a nice looking piece of kit which puts Chrome OS out there as something other than a cheap, crappy modernized netbook.
  • SomeNiceGuy - Friday, May 31, 2013 - link

    It would be nice to know the latency and the accuracy of the touch screen. iOS devices excel at this, others don't. Even if you haven't measured it, do you experience the touch screen laggy compared to an ipad? I think this can make or brake a touch centric device.
  • mfenn - Friday, May 31, 2013 - link

    "Once revealed, the grey slab is irresistible. It wins you over before it does anything but sit there. The exposed hinges are masked by a silver barrel that runs the width of the device. The aluminum is cold to the touch, and the only flourish is the LED strip lower down the lid, dormant, but nonetheless exciting for its potential. It’s lighter than you expect when you lift it, and feels solid; not simply in the sense of its rigidity, it feels like a block of aluminum weighing just north of 3 pounds. Right angles abound but are softened with chamfered edges making it comfortable to hold and touch. Its meager thickness is uniform across its length, and the weight is similarly balanced, avoiding the rearward bias of other notebooks. Almost without thought I find myself torquing and flexing against the device; my hands struggling to elicit a single creak or bend from the frame. Setting it down and lifting the lid, it boots in a breath, and reveals an image so rich with detail I’m drawn closer to get a better look. Chromebook or not, the Pixel is a status symbol. And I want it."

    Is Engadget or Anandtech?
  • neo_1221 - Friday, May 31, 2013 - link

    "50 shades of Chrome"
  • themossie - Saturday, June 1, 2013 - link

    Made my day!
  • lmcd - Friday, May 31, 2013 - link

    Chrome is great, but...

    The biggest problem is Java. There haven't been efforts to put Java on Chrome. Android, ironically (and expectedly), is holding Chrome OS back. Hopefully efforts are made to replicate Android's provided resources with Dart or C++, then bindings added for Java.

    Google is currently its own devil. Dalvik needs to become an extension to PNaCl, or needs to move towards it. If Google doesn't have a hidden repository where they're pushing to this (regardless of their short-term plans and their visible work) they are risking their whole web business model.
  • wffurr - Wednesday, June 5, 2013 - link

    Are you talking about Java applets? Aren't those dead by now?

    Or do you mean running Java desktop apps like Eclipse? There are no desktop apps on Chrome OS except Chrome.
  • bji - Friday, May 31, 2013 - link

    The review had alot of good detail but too much superfluous chatter. I think you need to work on understanding when brevity is more appropriate than verbosity. You'd do better to use the florid language as a highlight where needed instead of being present in nearly every sentence in the article. Just sayin' ...
  • bji - Friday, May 31, 2013 - link

    Forgot to mention - the review should be more objective and less subjective as well. This is a tech review site, and I think the numerous comments about how enamored the reviewer is over subjective qualities of the laptop are out of place.

Log in

Don't have an account? Sign up now