Network issues

1 view
Skip to first unread message

mrtisoy

unread,
May 10, 2008, 12:19:20 PM5/10/08
to atv-bootloader
I have an older ApptleTV. From the very beginning I've had problems
with my network card. I am currently upgrading my MythTV from .20 to .
21 and it'll take more than an hour and a half to download the updates
since the connection is running at 5k/s. I have a fiber-optic line and
the other computers on my network download at more than 1000x that
speed.

The RX line, "RX packets:259004 errors:23530 dropped:45103 overruns:
23530 frame:0", shows a bunch of errors. The weird thing is that when
I stream HD, it has no problem keeping up and the errors go away.

Is anyone else having this problem? Any ideas on how to solve it?

Thanks,
Dave

Scott D. Davilla

unread,
May 10, 2008, 1:22:17 PM5/10/08
to atv-bootloader

Someone else has seen slow network performance when just coping files
over the network. This fix is kernel dependent as the kernel gods
removed it under the 2.6.24 kernels (it's coming back).

If you check the cpu power state (C1, C2 C3). You should see that the
states are active and goes to C3 when idle.

"cat /proc/acpi/processor/CPU0/power"

Force the min cpu state to C1 or C2. The latency from C3 to C2/C1 is
long and I guess the network driver can't keep up until it's in C2 or
C1.

su root
"echo 2 > /sys/module/processor/parameters/max_cstate"


To make this change at boot, two ways, add this line to
"/etc/modprobe.d/options". this might work for 2.6.24 kernels too.

options processor max_cstate=2

Or add this to "/etc/rc.local"

"echo 1 > /sys/module/processor/parameters/max_cstate"

mrtisoy

unread,
May 10, 2008, 1:31:33 PM5/10/08
to atv-bootloader
Thanks again Davilla. Since I got my ATV up and running a month or so
ago I haven't been paying much attention. You've really done a lot
since then.

Should the last line of your last post be "echo 2 > /sys/module/
processor/parameters/max_cstate" or am I missing something?

Scott D. Davilla

unread,
May 10, 2008, 2:08:51 PM5/10/08
to atv-bootloader

yes it you want to force the cpu power state to C2, copy/paste error,
I force mine to C1 on < 2.6.24 kernels.

Reply all
Reply to author
Forward
0 new messages