Home Blog Page 1675

Behind Closed Doors at Mercedes-Benz’s Tech-Filled Silicon Valley R&D Facility

We look into how one of the world’s oldest car brands is using Google Glass, Pebble smartwatches, and Nest Thermostats to make its vehicles smarter. [Read more]

Read more at CNET News

Samsung to Unveil Galaxy Pro Tablets in Early 2014 — Report

Models with screen sizes of 8.4 inches, 10.1 inches, and 12.2 inches are in the works for next year, says blog site Sammobile. [Read more]

 
Read more at CNET News

A Summer Spent on the Linux Kernel Virtual File System

Calvin Owens has learned a lot about bug hunting and fixing just by following the discussion among developers on the Linux kernel mailing list. He’s even contributed a few small driver fixes over the past year. But his first real deep dive into kernel development came during his Google Summer of Code internship with The Linux Foundation this year.

Calvin Owens“I’ve always thought the kernel is deeply fascinating, and the opportunity to have the time to work on it in a meaningful way was a
very exciting prospect,” said Owens, a computer science and music major, studying clarinet, at Southern Methodist University in Dallas.

Owens was one of 15 GSoC interns with The Linux Foundation, where he worked with Yongqiang Yang on efficient sparse file handling in the page cache of the Linux kernel Virtual File System (VFS). He developed a “sparse page deduplication” method to avoid backing sparse regions of files with physical pages full of zeros.

A method for sparse files

Reading from sparse files, which contain(potentially very large) regions that aren’t extant on the disk, returns all zeros, Owens said. “This is advantageous, especially for virtual hard drives for VM’s, since the unused portions of the file don’t have to waste space on the disk,” he said.

“However, the VFS layer of the kernel isn’t aware of what pages in a file are and are not sparse. So when you read a page corresponding to a sparse region in a file, the FS knows to return zeros, but the page cache dutifully allocates a physical page to back it,” Owens said.

Owens’ program adds logic to VFS to make note of the sparse regions but prevents it from allocating a page to back the region, unless it’s later written to. The update should improve any workload that makes heavy use of sparse files, he said.

“The page cache, being in RAM, is orders of magnitude faster than the hard disk itself. Keeping pages of zeros in it prevents pages of real data from being ready to go when they’re needed,” Owens said.

Headed upstream

While the method works for the major in-tree filesystems, it needs more work before it can be merged upstream. 

“Originally, I accomplished this by putting references to the ZERO_PAGE in the page cache radix tree for the file,” he said. “I’ve spoken to a couple kernel developers who aren’t wild about that solution, so I’m currently working on implementing it more cleanly.”

In the meantime, Owens says he finds kernel development to be rewarding work and hopes to find a job as a kernel developer after graduation.

“I learned a great deal about the inner workings of the kernel, VFS and memory management in particular,” Owens said. “Digesting huge swaths of dense kernel code was a bit overwhelming at first. Learning to deal with that was a very valuable experience.”

Editor’s note: See our previous profiles of GSoC intern Eduard Bachmakov who contributed to the LLVM Clang Static Analyzer for the Linux kernel and Anton Kirilenko, who worked with Linux Foundation Fellow Till Kamppeter to improve the PHP/ MySQL application that manages submissions to the growing printer and printer driver database on the OpenPrinting website.

And if you’re interested in learning more about Google Summer of Code internships in 2014 please visit: http://www.google-melange.com/gsoc/homepage/google/gsoc2014

The next round of applications starts Feb. 3, 2014.

OpenStack Takes Over The Datacenter

openstacklogo

I’ve been watching the rise of OpenStack with an ambivalent mixture of curiosity and dread over the past few years. With the recent announcement of OpenStack support baked into Red Hat Enterprise Linux 7, it seems OpenStack is emerging as the de facto standard for virtualization and abstraction in the private could. Another new requirement for the working systems administrator. It could be that I’m just getting old, but when I look at the diagrams of OpenStack, I see a lot of moving parts.

My philosophy in dealing with computers is to always keep it simple. In my experience, the more interconnected components there are to an application, the more likely it is to break. Likewise, the more complex, the harder it becomes to diagnose the failure and fix what’s broken. When I look at this diagram by Ken Pepple, I see moving parts, connected like gears, and I have to ask “how fragile is this?”.

 
Read more at Ostatic

 

Linux 3.13 Kernel Power Consumption Benchmarks

With word recently of a 50 Watt Linux kernel power regression that’s still being investigated, I carried out some more power consumption tests of a Core i7 4770K Haswell system to see if its power usage has been impacted by recent kernel upgrades…

Read more at Phoronix

Startup Manager Renews Shine on Android’s Boot

For some inexplicable reason, probably related to egocentric human nature, software developers can’t seem to resist designing their programs as if they were default services: always on and ready. If you’re familiar with maintaining a PC and like tinkering with programs, you’ll know that you need to periodically disable or get rid of accumulating, seemed-like-a-good-idea-at-the-time programs that automatically run processes. These automatically loading tools hog resources, clog up RAM and CPU and slow overall operating system startup.

Read more at LinuxInsider

Android ‘Started Over’ the Day the iPhone Was Announced

Apple’s boast that the iPhone changed everything about the mobile industry has received some support from one of Android’s original software architects. Chris DeSalvo, who worked alongside Andy Rubin at Danger before joining Google to build its mobile OS, says that the iPhone’s announcement forced everyone on his team to realize that they “are going to have to start over.”

Already in intensive development for two years by 2007, Android was Google’s vision for a mobile operating system of the future. Still, in spite of all the work that had already gone into it, the Mountain View company was sure it couldn’t carry on along the trajectory it’d been following — the earliest Android devices looked very much like Googlified BlackBerrys…

Continue reading…

Read more at The Verge

Open Source Vehicles Get a Green Light with Tabby

Open source vehicles

Open hardware is gaining speed. The appetite for open source vehicles is growing. And while we may not have flying cars yet, we do have Tabby—an open source car design released by Open Source Vehicle this October.

Want to swap out an internal combustible engine for an eco-friendly electric? Tabby can do that. And, this open source vehicle is not just for makers—it’s production ready. Tabby will be rolling off the assembly line in early 2014. Will you see Tabby cruising your streets?

In this interview, we found out more about Tabby and got some insight into the open hardware movement from the team at Open Source Vehicle.

read more

Read more at OpenSource.com

Mutter, GNOME Shell Updated For GNOME 3.11.3

New development releases of the Mutter window manager and GNOME Shell are out this week for GNOME’s 3.11.3 development milestone…

Read more at Phoronix

X.Org Server 1.15 Should Be Released Next Week

The last planned X.Org Server 1.15 release candidate is now available ahead of the planned official release next week…

Read more at Phoronix