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

  • karasaj - Friday, May 31, 2013 - link

    What other objectivity can you have than display analysis, battery life, build quality (even still moderately subjective), and performance? Heat and noise I guess, which is normally included in laptop reviews, but considering he can't actually run HWmonitor, and it's also probably hard to actually load up the machine with a super heavy workload, there's not much he left out.

    If you don't like the subjective parts, skip them. Subjective qualities at the expense of objectivity can be bad, but he hasn't sacrificed that really.
  • nunomoreira10 - Friday, May 31, 2013 - link

    Those color (target and actual) diagrams are great!
    Please do so again on future displays reviews
  • frakkel - Friday, May 31, 2013 - link

    Finally - Someone who understands that we are not using our notebooks for watching 16:9 movies day long. To see a more square format is very much welcome. Now I will just wait for Haswell and then I will buy.
  • internetf1fan - Saturday, June 1, 2013 - link

    Wider screens are better for productivity as you can fit multiple documents side by side. Going back to 4:3 displays really hurts how I work because of lack of space.
  • leexgx - Saturday, June 1, 2013 - link

    we are not talking going back to 4:3 that would be silly, we are talking about website friendly 16:10 screens

    not many people use the side by side feature in windows 7
  • seapeople - Monday, June 3, 2013 - link

    Not many people use graphics cards, either, so why not just get rid of all those?
  • twtech - Friday, May 31, 2013 - link

    Remember the dot-com boom of the '90s, when the internet was supposed to take over everything? And then it didn't, and all these startups went bust, but it still had a significant impact, which continues to grow today?

    Right now, people are saying, the PC is dead, tablets are the new king. We've heard this mantra before. Notebooks, netbooks, consoles vs. PC gaming, everything new was supposed to kill the desktop PC. And along the way, those things have taken some marketshare when those devices were actually the more appropriate tool for the job.

    If all you had was a hammer and nails, but now you have a screwdriver and screws as well, some of the times when you previously used nails, now you'll use screws instead. If you put the usage of nails on a chart, maybe you'd say that they were "dying", and that usage of screws is the future, since of course it was growing from zero. Well, we know that both types of fasteners have their preferred uses. And tablets may replace PCs for certain uses - the use cases in which they are genuinely better. But there would be no sense in trying to use a tablet for things the PC is naturally better at.
  • Crono - Friday, May 31, 2013 - link

    The PC isn't dead. We're just in a transition period where tablets are becoming a very popular form factor of PCs. Anyone who wants to create content knows that a base iPad isn;t going to do you much good unless you have the right apps and preferably a physical keyboard. That's why the Surface and Surface Pro are the right direction, I think, though everyone agrees Haswell is needed to bring better battery life. Hybrid and convertible tablets or ultrabooks - whether they are Android, Windows, or iOS - will be key for the next few years... until we start getting scrolls. ;)

    Personally, I would love a 10" x 12" x 0.2" OLED flexible scroll computer with a display that can become rigid when completely unfurled from a thin computer core/column.
  • rwei - Friday, May 31, 2013 - link

    Odd that you yourself note the unfavorable comparison to the 13" rMBP, yet your review gushes with enthusiasm for the Pixel. I love shiny, beautiful new gadgets as much as or more than the next guy, but your praise seems excessive.

    I more or less took away from this is that the Pixel is cool because it makes for a really nice and shiny typewriter, and wow look it's evolving really quickly to the point where it's slowly approaching the level of basic functionality that other systems already deliver.
  • Arbie - Saturday, June 1, 2013 - link

    rwei - I agree with you completely.

    And there is a weird parallel between the design effort put into this overdone $1400 browser box and the writing effort put into this overblown, wordy, and just so artfully crafted treatise on it. Is this all a joke of some kind? I got through a couple of pages and couldn't take it any more. If you gave the author an enema he could fit in a shoebox.

    As for the computer, the only thing it's ideal for is to make the Surface RT look like a success. Maybe it makes sense as an investment collectible, considering that they're only going to sell two or three. Nothing worthwhile here.

Log in

Don't have an account? Sign up now