Author Topic: CONFIG_FS_SYNC in Sharp kernel source  (Read 8927 times)

Anonymous

  • Guest
CONFIG_FS_SYNC in Sharp kernel source
« Reply #15 on: March 04, 2004, 01:30:49 pm »
Quote
asshole TKC still alive? hehe...

Oh yes...if you choose to throw stones, why hide behing the vail of anonymity.  Cowardice is a poor quality.

agosine

  • Full Member
  • ***
  • Posts: 123
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #16 on: March 04, 2004, 01:42:08 pm »
Thanks derekp.  I finally registered so I don\'t get caught up in this guest nonsense.
SL5500 running nothing.  Will not hold a charge.  =(
C1000 running Sharp ROM

Anonymous

  • Guest
CONFIG_FS_SYNC in Sharp kernel source
« Reply #17 on: March 04, 2004, 02:05:11 pm »
it\'s me

--sashz

Anonymous

  • Guest
CONFIG_FS_SYNC in Sharp kernel source
« Reply #18 on: March 05, 2004, 12:16:45 am »
Ahh sash...yeah I figured it was you...not too many childish folks running around on these forums.

Dude...I have no idea what your beef is with TKC or Proto or whatever...but I personally \"had\" no issues with you.  In fact I was helping your team with wireless issues (talk to Laze).  My kernel had nothing to do with you or your work, or your childish issues you had with proto, etc.  So for you to call me an \"asshole\" is not only uncalled for, but also shows your true intelligence level.  Personally sash, I would stop picking fights with people who did nothing to you (me) and take your energies and focus them elsewhere.  In otherwords, you probably should grow up.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
CONFIG_FS_SYNC in Sharp kernel source
« Reply #19 on: March 05, 2004, 02:04:35 am »
please... not again.

ok?

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
CONFIG_FS_SYNC in Sharp kernel source
« Reply #20 on: March 05, 2004, 02:05:50 am »
please.

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #21 on: March 05, 2004, 02:47:46 pm »
I\'ve noticed that the kernel I uploaded finally showed up in the downloads section, so I went ahead and removed the attachment from my earlier post.  Actually, it\'s there twice, since I re-uploaded it after a few days thinking that there was a problem with the original upload.  One\'s just the kernel itself, the other one is in a zip file, but otherwise they\'re the same thing.
How shoud I bring it to the site admin\'s attention to remove the redundant one?  Should I send a private message to offroadgeek?

Another note, this kernel is also compiled with support for ext3 filesystem.  If you do a \"tune2fs -j /dev/mmcda1\" then it will turn journaling on.  This might be desirable, seeing as how you\'d otherwise have a higher chance of filesystem corruption with async writes (i.e., if you pull out the SD card without ejecting it).   For the record, I don\'t notice any performance penalty with the journaling.

agosine

  • Full Member
  • ***
  • Posts: 123
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #22 on: March 05, 2004, 03:29:27 pm »
Derek,  are you sure about this command \"tune2fs -j /dev/mmcda1\".  tune2fs doesn\'t know what the -j flag is on my unit.  I\'m using your zImage file and the TKC ROM2alpha3 BIN file.
SL5500 running nothing.  Will not hold a charge.  =(
C1000 running Sharp ROM

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
CONFIG_FS_SYNC in Sharp kernel source
« Reply #23 on: March 05, 2004, 03:41:04 pm »
Quote
Another note, this kernel is also compiled with support for ext3 filesystem. If you do a \"tune2fs -j /dev/mmcda1\" then it will turn journaling on. This might be desirable, seeing as how you\'d otherwise have a higher chance of filesystem corruption with async writes (i.e., if you pull out the SD card without ejecting it). For the record, I don\'t notice any performance penalty with the journaling.

That\'s an interesting idea. What abotu space? How much do you think is the overhead?

BTW, I\'ve tried running some benchmarks without shsync process. The transfer rate is even higher - up to 1.5 Mb/sec, but then it\'s a pain if you need to eject a card. It would  take a few seconds to flash the buffers. So I ended up with leaving shsync alone...

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #24 on: March 05, 2004, 08:44:19 pm »
agosine, you might need to grab a different version of tune2fs.  I\'m run openzaurus from my SD card, which has the -j (journal) flag, but if I remember right, the version on the sharp rom doesn\'t have it.
Back a while ago, I compiled a bunch of standard linux utilities for the Z, I think a copy of tune2fs was one of them.  I\'ll do some digging and mail it to you if I find it.

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #25 on: March 05, 2004, 09:41:38 pm »
Quote
Quote
Another note, this kernel is also compiled with support for ext3 filesystem. If you do a \"tune2fs -j /dev/mmcda1\" then it will turn journaling on. This might be desirable, seeing as how you\'d otherwise have a higher chance of filesystem corruption with async writes (i.e., if you pull out the SD card without ejecting it). For the record, I don\'t notice any performance penalty with the journaling.

That\'s an interesting idea. What abotu space? How much do you think is the overhead?

BTW, I\'ve tried running some benchmarks without shsync process. The transfer rate is even higher - up to 1.5 Mb/sec, but then it\'s a pain if you need to eject a card. It would  take a few seconds to flash the buffers. So I ended up with leaving shsync alone...

The smallest size journal you can have is 1 block, which should be 1K using the default block size.  Not sure what the default size is.

Also, as you are probably aware, when doing async io on flash media, any increase in raw transfer rate is artificial, that is once you include the time to sync the filesystem you end up with about the same speed as with sync writes (you have to \"pay the piper eventually\", so to speak).  And given enough data, you eventually run out of ram so you\'d have to wait for the data to write out at that point.  On a drive that has physical head movement, there are significant real speedups, as data can be written in a more efficient order.   On the other hand, async i/o also filters out redundant writes.  So in the case of writing out a bunch of smaller files where it has to update the same disk blocks (inode table) multiple times, you get a real speed up.

As far as speed differences between running with v.s. without a journal, I haven\'t done any formal benchmarking, but untaring something with sync i/o takes about a second to write out each file,  whereas with async an untar command flies by.  And it still flies by with about the same speed with journaling on.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
CONFIG_FS_SYNC in Sharp kernel source
« Reply #26 on: March 06, 2004, 05:15:59 pm »
Thanks for the info. I may try to build myself a kernel with ext3 support. The only pronlem is that when preparing the new ROM  I\'ve been  flashing ROMs back and forth like crazy, so I\'m tired of that  and want to settle down a bit

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
CONFIG_FS_SYNC in Sharp kernel source
« Reply #27 on: March 06, 2004, 05:58:08 pm »
I hope the next pdaxrom has this option.

Scott

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
CONFIG_FS_SYNC in Sharp kernel source
« Reply #28 on: March 07, 2004, 03:15:52 pm »
Derekp I have tested this and posted my results here :-
http://www.zaurususergroup.com/index.php?n...iewtopic&t=2292

Many thanks for discovering this, it really works.

Peter.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
CONFIG_FS_SYNC in Sharp kernel source
« Reply #29 on: March 07, 2004, 04:30:47 pm »
I hope that X11 and Qtopia ROMs will have compatible, if not the same kernels. Ill work with sash on that.