![]() ![]() |
May 11 2008, 06:09 PM
Post
#1
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
First off, this is an honest question, NOT an attempt to start a flame war. I REALLY want to like Debian on my Zaurus.
What makes Debian so much slower than Angstrom? They both run off of the HDD and they both use EABI (?), so why the huge performance gap? Is it something I could fix? Thanks. PS: Is there a way to have a Debian-Angstrom dual-boot? I know at least for a while Debian was using the Angstrom kernel. EDIT: Nevermind. I decided that my Angstrom build environment was foobared enough, as were the images, so Debian gets another chance. I'd still like to know why it's slow, though. |
|
|
|
May 12 2008, 03:17 AM
Post
#2
|
|
|
Group: Members Posts: 76 Joined: 14-December 07 Member No.: 21,073 |
First off, this is an honest question, NOT an attempt to start a flame war. I REALLY want to like Debian on my Zaurus. What makes Debian so much slower than Angstrom? They both run off of the HDD and they both use EABI (?), so why the huge performance gap? Is it something I could fix? Thanks. PS: Is there a way to have a Debian-Angstrom dual-boot? I know at least for a while Debian was using the Angstrom kernel. EDIT: Nevermind. I decided that my Angstrom build environment was foobared enough, as were the images, so Debian gets another chance. I'd still like to know why it's slow, though. Hi Capn_Fish, Are you running titchy? I've installed zdevils rootfs, with the yongguns kernel and it's fast. |
|
|
|
May 12 2008, 08:41 AM
Post
#3
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Nope. I'm running the Yonggun kernel with the rootfs referred to above, and things take several seconds to load (even Rxvt).
EDIT: OK, maybe not several seconds, but a few. |
|
|
|
May 12 2008, 08:50 AM
Post
#4
|
|
|
Group: Members Posts: 20 Joined: 20-July 06 Member No.: 10,468 |
|
|
|
|
May 12 2008, 03:59 PM
Post
#5
|
|
|
Group: Members Posts: 218 Joined: 12-February 06 From: Tokyo Member No.: 9,124 |
I am running debian from the internal microdrive on my sl-c3200. I thought the delays were due to the fact that the microdrive is slow...
|
|
|
|
May 12 2008, 06:57 PM
Post
#6
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Angstrom runs from the MD, and it is much faster.
|
|
|
|
May 13 2008, 12:49 AM
Post
#7
|
|
|
Group: Members Posts: 126 Joined: 4-May 05 From: Lynnwood, WA, US Member No.: 7,070 |
A couple differences I can think of (off the top of my head) that might affect this:
-CPU specific gcc optimizations in Angstrom vs standard lowest common denominator Armv4t optimizations in Debian -Angstrom often builds things without options that aren't typically used on a handheld, where Debian typically includes all options -Lots of fine tuning to reduce memory usage, such as reducing the number of services run by default -ash/busybox vs bash/coreutils Overall, this is why for day-to-day stuff I boot angstrom from SD and for when I *need* something from Debian I boot it from a usb-stick. |
|
|
|
May 13 2008, 03:43 AM
Post
#8
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Ahh, that would make sense.
|
|
|
|
May 13 2008, 05:16 PM
Post
#9
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
How hard is it to get a build setup to rebuild the repos (or at least a more condensed version) with armv5te optimizations? I have a comp that I could dedicate (1GHz Via C7, 250GB SATA HDD, 1GB RAM) to the build, if it meant a faster Debian (Angstrom has me ticked off ATM
|
|
|
|
May 13 2008, 10:27 PM
Post
#10
|
|
|
Group: Members Posts: 11 Joined: 25-November 07 Member No.: 20,984 |
The SD card reader on the C-series is a serious bottleneck in my experience. The internal flash is faster, giving Angstrom et. al. the appearance of being faster. Also, with Debian, programs are bigger (as mentioned above, they are more featureful), so loading/unloading data from storage will naturally take longer anyway. However, in my experience, EABI programs in Debian run about as fast as their Angstrom counterparts once loaded into RAM.
If you are using a GUI, by far the biggest bottleneck with responsiveness is anti-aliasing. If you can turn it off (if your GUI even supports it), you will notice a HUGE speed boost. In fact, with XFCE on my Debian zaurus, the difference in speed before and after is about an order of magnitude. |
|
|
|
May 14 2008, 03:56 AM
Post
#11
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
Angstrom runs from the MD on Spitz.
|
|
|
|
May 14 2008, 04:41 AM
Post
#12
|
|
|
Group: Members Posts: 126 Joined: 4-May 05 From: Lynnwood, WA, US Member No.: 7,070 |
Cross compiling will be harder than native compiling. Someone apparently did ubuntu builds specifically targetting different ARM processors ( mojo.handhelds.org ), but they used a build farm of ARM machines, IIRC and/or qemu-arm-system on x86 machines. qemu is an option for you, but you'll probably end up with slower compiles than on a real zaurus. That being said, profiling certain programs and/or libraries and recompiling them with fewer options or CPU optimizations might make a big difference in some cases.
|
|
|
|
Jun 19 2008, 10:54 AM
Post
#13
|
|
|
Group: Members Posts: 21 Joined: 18-June 08 Member No.: 21,942 |
You can try crosstool.
It can download all the things you need for cross-compile. It has a specific script for intel-xscale processors. DOMy |
|
|
|
Jun 19 2008, 02:14 PM
Post
#14
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
I will have to look into that. Thanks much!
|
|
|
|
Jun 21 2008, 06:02 PM
Post
#15
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 11:41 PM |