Hacker News new | past | comments | ask | show | jobs | submit login

I use both OS X and Linux daily, each on laptops and I would have agreed with you until recently. On 3.12-3.14 my resume times on have gone from slower than OS X to at least as fast, sometimes apparently faster, than the same OS X laptop.

This is a pure btrfs, gnome, arch linux install. Old hardware (Thinkpad x220).

Notably OS X still brings networking back up faster, but that is in the pipeline already for Linux.




> Notable OS X still brings networking back up faster

With the notable point that it doesn't work properly on a lot of hardware, in my experience (and in the experience of others I know). The major ISP in ireland provides the same box for most connections, and my mac just will not hold a connection to them when resuming from sleep. It appears to be an issue revolving around assignment of IP addresses, but I can't reproduce it, and it doesn't happen on my work network or uni network, but every UPC network I use with the same equipment (Technicolor TC7200U) has the issue.


Gosh, TC7200 units just suck. I replaced mine with a Fritzbox and poof, no more random network stalls, suspend issues etc.


Offtopic: My cat opened the TC7200 accidentaly. There are two serial ports. One is easily reachable and gives access to the bootloader which lets you r/w memory (and jump to anything in memory). The second one is under the cooler. <s>You</s> Your cat can easily solder <s>yourself</s> itself on it from the back of the pcb, if <s>you</s> your cat doesn't want to remove it. You'll see linux booting, you can login with your webinterface credentials, but it kicks you out immediately because you don't have a shell.

Just in case anyone want's to work on what my cat has discovered. It is leased with my ISP contract, so I would never open it myself.


Linux based? Well fuck Technicolor then, there's no mention of GPL source code... and I would not be surprised if it's U-boot based.

As for the "fuck" part, AVM with the Fritzbox ain't a bit better, though. Looks like all cable routers are locked down and no sources available - probably to prevent people from building DOCSIS sniffers or network disrupters (30-apartment house, all connected via DOCSIS on one link, now good luck finding the asshole).


Please share your intel, only thing I've seen so far was on here, no notion of a second serial port: http://www.boards.ie/vbulletin/showthread.php?t=2057147563

I'd love to see some progress on this, I also have a USB-TTL ready, but no real reverse engineering skills.

Did you see the telnet running on 192.168.100.1?


A dead HN thread isn't the right place to do this. Contact me at hnlawl.tc7200 ãt dumbinter pẽriod net.

I've quickly googled a picture of the PCB for you and annotated it. From you thread you linked that's the bootloader serial port. if you look beneath the cooler (without removing it) you'll see "console" written there. That's the Linux serial console. I didn't want to remove the cooler. So my cat just soldered itself onto it from the back of the PCB. I'm not sure what the pinout was anymore. But it's easy enough to figure out with a multimeter.

Image: http://abload.de/img/tc7200hxati.jpg

Edit: I've made a picture, My cellphone cam sucks, but you can see the "CONSOLE" written on it. Just use a multimeter on the back of your PCB to figure out the pinout.

http://abload.de/img/consolezmy3k.jpg

Also I did see the telnet port in the management net, but could figure out the login. The regular HTTP webinterface loads too on this ip, but you can't login with your credentials. If my create a backup from your config on the webinterface, there seems to be a user for ISP support at the end of the file. But I couldn't login with that either.


I have experienced the opposite with my MacBook Air. I have a Asus RT ac 66u router and use 5ghz on both the air and my Acer Chromebook c720 with archlinux installed on it using NetworkManager.

The the MacBook Air takes about 6sec to connect to the wifi while my Chromebook takes less than 2 seconds. Both can load Internet pages instantly after the OS reports that it's connected.

I have no idea why the MacBook takes so long, but I recently did a fresh install on it and got the same results


How did you get suspend and resume running on the C720? I have a C720P and I've been trying to get it to resume at all(it freezes when I reopen the lid)


I see the same issues on my MBA


Slightly tangential, but I have almost the same setup (Arch + Thinkpad) and I've noticed slower shutdown times since ~3.12 due to systemd taking down oldroot. Are you experiencing the same thing?


"...that is in the pipeline already for Linux."

Would you have a link to this?



I recommend moving past this blog-fluff and going directly to the Google+ announcement[1].

Quite impressive improvements. Can't wait until this goes live on normal distros.

[1] https://plus.google.com/+TomGundersen/posts/eztZWbwmxM8


Is btrfs stable with hibernate now? The last couple of times I used it, it crashed on me.


I had a couple problems requiring a btrfsck, specifically related to google-chrome cache directories. Never had it since. I use btrfs snapshotting a lot (for convenient system rollback).

I definitely am not running btrfs on a production machine, but I love it on this laptop. Wouldn't call it stable yet.

edit to note that I don't hibernate, just sleep.


I don't know you'd ever use hibernate anymore. I can cold boot to desktop faster than it takes to read 16GB of ram contents off a mechanical drive.


Speed isn't the only consideration. If you're using disk encryption, the only way to remove keys from RAM is to power off or hibernate. Preserving state between sessions with hibernation is much more convenient. Also, Linux only uses RAM * 2/5 as the size of the hibernation image [1]. You can make this even smaller by changing /sys/power/image_size. So with 16GB of RAM, it only has to write/read about 6.4GB.

[1] https://www.kernel.org/doc/Documentation/power/interface.txt


If you use hibernate won't the keys be stored on the swap partition?


You can use LVM to make the swap partition inside the encrypted container. If you don't want to use LVM, you can just use a swap file on an encrypted partition (but this isn't supported with btrfs).




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: