Author Topic: Performance Tweaking The Collie (5500) -- Hentges  (Read 3742 times)

caconym

  • Newbie
  • *
  • Posts: 5
    • View Profile
Performance Tweaking The Collie (5500) -- Hentges
« on: September 08, 2005, 03:29:38 pm »
I've mucked around with OZ 3.5.1,2,3, GPE and Opie, Hentges, and Daniel Steen's Rboot, etc, and my problem is this: They all have features I love, but none of them is as good as all of them. Specifically, I'm talking about performance.

Hentges is the easiest to use and the best initial configuration, but running straight off SD (even with 1Gb) it's just not that quick. Command-line mp3 players skip when playing off the SD (and maybe that's just the speed of the card). Not to mention the fact that I have to rerun ipkg-link every couple of installs to make sure everything's linking the way it should. Seems like the Rboot method (using a disk image) runs faster and eliminates the need for re-linking, but the current OZ kernel (openzaurus.org) won't get me past configuring modules before it craps out. (Guess I'm waiting for 3.5.4...) I'd love to boot into an image from Hentges, but I can't get the image built first. So anyway:

1) How would I transfer my current config into a new disk image? Would copying everything into a loop0 mount give me the exact same stuff? Does the rboot "copy" script get everything it should?

2) Looks like rboot's "modify_init" screws up the altboot init scripts.. should I just skip this step and assume altboot will recognize my new disk image? Does it need to be named something different (jffs.something?) or an FS different from ext2?

3) Is there a better FS than ext2 for speed in a disk image? Does it have to be ext2? Why is jffs preferred in the initrd? Does it work better on flash RAM?

4) Would there be any advantage to be gained by creating an additional image for a swapfile (per dropbear)?

I know all the things I'm mulling are really just ways to push the 5500 beyond it's hardware limitations, but someone has to have figured these out by now...

Thanks to all for your help, I've gotten tons of solid advice from the board in the past and you guys (esp Mickey and Mattias) make one hell of a user community.

Caconym
[SL 5500 currently Oz 3.5.3 a la Hentges
32Mb Sandisk CF
1Gb Sandisk SD
Spectrum24 Wifi (802.11b)]

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Performance Tweaking The Collie (5500) -- Hentges
« Reply #1 on: September 08, 2005, 04:49:09 pm »
Quote
3) Is there a better FS than ext2 for speed in a disk image? Does it have to be ext2? Why is jffs preferred in the initrd? Does it work better on flash RAM?

jffs2 performs wear leveling and is also a compressed filesystem.

You could try overclocking...


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

caconym

  • Newbie
  • *
  • Posts: 5
    • View Profile
Performance Tweaking The Collie (5500) -- Hentges
« Reply #2 on: September 09, 2005, 08:59:42 am »
Quote
You could try overclocking...

I didn't think OC'ing a 206mhz would make a huge difference. I've had a PIII 333 up to 600 (stable), but since there's no fan or extra cooling in a Z i'm a little worried about burnout. Experiences?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Performance Tweaking The Collie (5500) -- Hentges
« Reply #3 on: September 09, 2005, 09:21:12 am »
I've never done it - my interest is more along the lines of under-clocking to improve battery life, but I understand it's possible.

There were posts about it a while back on the forum, a search should turn them up.

Another little question - I presume you're running a 64-0 kernel? If not, I would do to give your Z more RAM to cache things in, etc.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

caconym

  • Newbie
  • *
  • Posts: 5
    • View Profile
Performance Tweaking The Collie (5500) -- Hentges
« Reply #4 on: September 09, 2005, 10:30:05 am »
Quote
Another little question - I presume you're running a 64-0 kernel? If not, I would do to give your Z more RAM to cache things in, etc.

Yup, Hentges (latest) 64-0.

abject

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Performance Tweaking The Collie (5500) -- Hentges
« Reply #5 on: September 11, 2005, 11:50:52 pm »
Quote
[...]
Hentges is the easiest to use and the best initial configuration, but running straight off SD (even with 1Gb) it's just not that quick. Command-line mp3 players skip when playing off the SD (and maybe that's just the speed of the card).
[...]
[SL 5500 currently Oz 3.5.3 a la Hentges
32Mb Sandisk CF
1Gb Sandisk SD
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95085\"][{POST_SNAPBACK}][/a][/div]

Hunh. I'm enjoying a big ol' pile of MP3s, skip-free with the GUI-based XMMS (which should perform worse than any CLI player) that was included in my Hentges 3.5.3 ROM (Nice, nice work, Coredump!).

Legend has it that SanDisk SDs do not play nicely with 5500s. Maybe try a different brand of SD card - borrow one from a friend or something.

- Ab

caconym

  • Newbie
  • *
  • Posts: 5
    • View Profile
Performance Tweaking The Collie (5500) -- Hentges
« Reply #6 on: September 12, 2005, 11:10:04 am »
Quote
Legend has it that SanDisk SDs do not play nicely with 5500s. Maybe try a different brand of SD card - borrow one from a friend or something.

Damn. Never would have thought of that. That would explain *most* of my issues, since I'm running (as much as possible) off of the SD card. Shyte. Is there a preference of brand? Any of them stand above the rest?

Thanks again,
Caconym

abject

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Performance Tweaking The Collie (5500) -- Hentges
« Reply #7 on: September 12, 2005, 10:29:09 pm »
Quote
[...]Is there a preference of brand? Any of them stand above the rest?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Somewhere on the [a href=\"http://zaurususergroup.org/]ZUG website[/url] there's a review of many SD cards - maybe the reviews section? They're still recovering from the power outage in LA this afternoon, so I couldn't find the exact link, at the mo'.  

Almost anything but SanDisk, IIRC.

Sorry.

--

p.s. - Also, make sure it's mounted...
Code: [Select]
async,noatime ...for speediest access. A little risky, yes, but worth it, especially considering the platform. Judicious use of...
Code: [Select]
# sync ... helps to mitigate the risk of using async I/O.
« Last Edit: September 12, 2005, 10:35:00 pm by abject »