Author Topic: Speed And Swp?  (Read 2884 times)

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Speed And Swp?
« on: May 21, 2005, 05:47:12 am »
we must run some programs in chinese-font.
so,we have to setup chinese-font to rc9.1/rc10.
chinese-font size is about 10M or biger.

chinese-font size is too big to free-RAM become small.
run "free",free-ram is <10M(RC10) or < 14M(RC9.1).
some program run slowly.
EX:abiword,firefox is very slow in chinese-font.
when they open big-size documents,they maybe crash sometime!

 i want to fdisk sd-card to ext3 and swp.
do it become speeder when runing progame in chinese-font?

hbo

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Speed And Swp?
« Reply #1 on: May 21, 2005, 01:32:20 pm »
Quote
we must run some programs in chinese-font.
...
do it become speeder when runing progame in chinese-font?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80781\"][{POST_SNAPBACK}][/a][/div]

I don't know if it will be faster, but adding enough swap will probably keep the app from crashing.  It depends on what is slow about the chinese font rendering without the swap file. If low memory is forcing the app to allocate less memory to the rendering than is optimal, then adding swap may speed things up. But if th slowness is just due to the computational load of rendering the fonts, then a swap won;t speed things up. A swap partition seems like a good idea with pdaXrom anyway, especially if you are running a heavyweight browser like firefox.
SL5500/OZ 3.53/Opie 1.2/256MB SD/Linksys WFC12
C860/CACkO 1.22a/1GB SD/Linksys WFC12
SL6000L/sharprom 1.12/4GB Microdrive

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Speed And Swp?
« Reply #2 on: May 22, 2005, 01:27:12 am »
thanks , MR. hpo
you are right.

at help by Mr. zumi, i have a better way to setup swap.
in /mnt/card/swap:

dd if=/dev/zero of=swapfile bs=16M count=2
mkswap swapfile
swapon swapfile

swap is setuped 32M.
« Last Edit: May 22, 2005, 01:29:12 am by badog »