Page 39 of 55 FirstFirst ... 29343536373839404142434449 ... LastLast
Results 761 to 780 of 1081
Like Tree13Likes
  1. #761  
    this thread is really more for people using a sprint pre- with 2.1. compcache was not implemented until 2.1
  2. #762  
    got it. i am ready to make that jump soon, but I am awaiting until the wiki gets updated with your comments (as you mentioned in the previous post).
  3. #763  
    Quote Originally Posted by NABRIL15 View Post
    got it. i am ready to make that jump soon, but I am awaiting until the wiki gets updated with your comments (as you mentioned in the previous post).
    If you want in on the compcache stuff, make sure you have UberKernel first. Then, follow us Pixi guys and make a script similar to the softswap hack discussed prior, and combine it with what everyone else has done. I placed mine in media/internal and mine looks like this:

    swapoff -a
    sleep 1
    insmod /lib/modules/`uname -r`/extra/xvmalloc.ko
    insmod /lib/modules/`uname -r`/extra/ramzswap.ko disksize_kb=32768
    sleep 3
    swapon /dev/ramzswap0 -p 100
    mkswap /dev/store/swap
    swapon /dev/store/swap

    disksize is where you specify the size of ramzswap (compcache).

    Note that the sysctl settings still apply and work the same way as everyone else has posted, but it would appear that some of the settings the 2.1 guys are tweaking aren't in 1.4.5 (see one of my prior posts on which ones). But as fair warning, be careful as whatever you change could result in a trip to the doctor or worse. Also, please see prior threads about the importance of the EOL setting in Internalz in case you use that to edit/create the files.
  4. #764  
    My phone is running amazingly, I found some things in Luna.Conf that made a world of difference once I changed them.

    But, I still want to test out a couple things. Primarily:

    -changing just a couple last settings in sysctl.conf and disabling it altogether.

    -trying 32mb of compcache with the 500mb swap with and without sysctl.conf

    Once that is tested I will make a page on WebOS Internals detailing how to do every step.

    I am even going to go once step further and make .ipk's and .patch files that you can simply install.

    But, I want to make sure things are good before I do that, so in an HP/Palm fashion:

    ....in the coming week!

    Sorry for the delay, but I want to make sure it is 100% before I go making patch files and the like, which tends to attract less than competent people hacking their phones. lol.

    Also you can rest assured that if it makes my Pre Minus fast, it will make yours fast. I have 113 patches, 6 IM clients, the Weather Widget and 125 apps installed on the phone.

    So its a good baseline. If I can make my Pre- not sluggish, itll make any Pre- not sluggish. lol.

    Quote Originally Posted by rmausser View Post
    Tomorrow I am going to write an entirely new thread detailing every step to get WebOS 2.1 running smoothly on the Pre Minus.

    The different steps will include:

    -Overclocking
    -Modifying sysctl.conf
    -Patches and apps that speed up the Pre
    -Minimal Logging
    -Modifying Luna.conf
    -Making a larger swap file
    -Changing Backing Store to Linux Swap.
    -Disabling Write buffers

    I have also come across some other things that we haven't discussed here yet.
  5. #765  
    no possible way you can throw a few things up here that we can look at that you know your keeping? i dont need any of the patch files or anything but i would like to see the basics you have going and what you know works. i understand if you dont want to but i figured i would through it out there.
    thanks
  6. #766  
    Well other than the last sysctl.conf t settings that I posted and changing swap to 500mb, I currently have thundercheif and some patches installed that I will detail over at WebOS Internals.

    These are the other modifications I made. (changes in bold)

    Added this to /etc/init.d/bootmisc.sh

    Code:
    #
    # bootmisc.sh	Miscellaneous things to be done during bootup.
    #
    
    . /etc/default/rcS
    #
    # Set default cpufreq (BUG: need to set twice!).  Only set for the
    # Pre/Pre Plus.  On other devices the kernel sets what it wants.
    #
    if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed ]; then
        if grep -q '^Hardware.*Sirloin OMAP3430 board$' /proc/cpuinfo; then
            echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
            echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
        fi
    fi
    
    #
    # Put a nologin file in /etc to prevent people from logging in before
    # system startup is complete.
    #
    if test "$DELAYLOGIN" = yes
    then
      echo "System bootup in progress - please wait" > /etc/nologin
      cp /etc/nologin /etc/nologin.boot
    fi
    
    #
    # Set pseudo-terminal access permissions.
    #
    if ( ! grep -q devfs /proc/mounts ) && test -c /dev/ttyp0
    then
    	chmod 666 /dev/tty[p-za-e][0-9a-f]
    	chown root:tty /dev/tty[p-za-e][0-9a-f]
    fi
    
    #
    # Apply /proc settings if defined
    #
    SYSCTL_CONF="/etc/sysctl.conf"
    if [ -f "${SYSCTL_CONF}" ]
    then
    	if [ -x "/sbin/sysctl" ]
    	then
    		/sbin/sysctl -p "${SYSCTL_CONF}"
    	else
    		echo "To have ${SYSCTL_CONF} applied during boot, install package <procps>."
    	fi
    fi
    
    #
    # Update /etc/motd.
    #
    if test "$EDITMOTD" != no
    then
    	uname -a > /etc/motd.tmp
    	sed 1d /etc/motd >> /etc/motd.tmp
    	mv /etc/motd.tmp /etc/motd
    fi
    
    #
    # Update dynamic library cache on first boot, but only if it's in var.
    # If the symlink in /etc has been replaced with a real file, there is
    # no point writing now, but we can reclaim the space in /var.
    #
    if test -h /etc/ld.so.cache; then # is it a symlink?
        LD_CACHE=$(readlink /etc/ld.so.cache)
        if ! test -f $LD_CACHE; then
    	    /sbin/ldconfig -C $LD_CACHE
        fi
    elif test -f /etc/ld.so.cache; then # is it a regular file?
        rm -f /var/cache/ld.so.cache
    fi
    
    #
    # re-bind mount the gcov directories if they exist
    #
    if test -d /var/zgcovout
    then
    	. /etc/gcov_mount
    fi
    
    if test -x /etc/pmnetconfig/iptablectrl
    then
        /bin/grep -qs "qemu" /etc/hostname
        if [ $? -ne 0 ]; then
            /etc/pmnetconfig/iptablectrl
        fi
    fi
    
    blockdev --setra none /dev/mapper/store-swap
    blockdev --setra none /dev/mapper/store-var
    blockdev --setra none /dev/mapper/store-media
    blockdev --setra none /dev/mapper/store-update
    blockdev --setra none /dev/mapper/store-log
    blockdev --setra none /dev/mapper/store-root
    
    : exit 0
    and modified etc/palm/luna.conf this way:

    Code:
    #
    # Luna System Manager settings
    #
    
    [General]
    ApplicationPath=/usr/lib/luna/applications:/var/luna/applications:/var/usr/lib/luna/applications:/usr/palm/applications:/var/usr/palm/applications:/media/cryptofs/apps/usr/palm/applications
    SystemPath=/usr/lib/luna/system/luna-systemui
    SystemResourcesPath=/usr/palm/sysmgr/images
    SystemLocalePath=/usr/palm/sysmgr/localization
    AppLauncherPath=/usr/lib/luna/system/luna-applauncher
    LaunchPointsPath=/var/luna/launchpoints
    PreferencesPath=/var/luna/preferences
    DisplayWidth=320
    DisplayHeight=480
    DisplayNumBuffers=8
    MaxPenMoveFreq=30
    MinPenMoveFreq=10
    MoveMinX=16
    MoveMinY=12
    MaxPaintLoad=6
    MaxGestureChangeFreq=30
    MinGestureChangeFreq=20
    ShowReticle=true
    NotificationSoundDuration=5000
    ScanCalculatesAppSizes=true
    AutoMigrateAppsAtBoot=true
    AllowTurboMode=true
    WifiInterfaceName=eth0
    WanInterfaceName=ppp0
    
    [Display]
    BrightnessOutdoorScale=250
    BrightnessDimScale=50
    BrightnessDarkScale=10
    EnableALS=true
    
    [CoreNavi]
    EnableLightBar=true
    CoreNaviBrightnessScaler=40
    GestureAnimationSpeedInMs=1000
    ThrobberBrightnessInLight=100
    ThrobberBrightnessInDark=50
    
    [Memory]
    CardLimit=-1
    AppsToAllowInLowMemory=com.palm.app.phone;com.palm.app.contacts;com.palm.app.messaging
    
    [TouchEvents]
    TapRadiusMax=8
    TapRadiusMin=2
    TapRadiusShrinkPerc=10
    TapRadiusShrinkGranMs=200
    DoubleClickDuration=300
    
    [VTrackBall]
    PixelsPerMoveH=14
    PixelsPerMoveV=26
    AccelRateH1=350
    AccelRateV1=200
    AccelConstH1=1
    AccelConstV1=2
    AccelRateH2=700
    AccelRateV2=375
    AccelConstH2=2
    AccelConstV2=3
    
    [Debug]
    WatchPenEvents=false
    EnableDebugModeByDefault=false
    PiranhaDrawColoredOutlines=false
    PiranhaDisplayFps=false
    ShowGestures=false
    FailAllMigration=false
    PerformanceLogs=true
    LauncherAtlasStatistics=false
    DumpLauncherAtlas=false
    
    [LaunchAtBoot]
    Applications=com.palm.app.phone;com.palm.app.email;com.palm.app.calendar;com.palm.app.messaging;com.palm.app.contacts;com.palm.app.camera
    
    [KeepAlive]
    Applications=com.palm.app.phone
    
    [KeepAliveUntilMemPressure]
    Applications= 
    [Fonts]
    Banner=Prelude
    LockWindow=Prelude
    DockMode=Prelude
    Quicklaunch=Prelude
    
    [UI]
    PositiveSpaceTopPadding=28
    PositiveSpaceBottomPadding=28
    MaximumNegativeSpaceHeightRatio=0.55
    ActiveCardWindowRatio=0.659
    NonActiveCardWindowRatio=0.61
    AtlasEnabled=true
    AtlasMemThreshold=0
    
    [DownloadManager]
    MaxQueueLength=128
    MaxConcurrent=2
    MaxRecvSpeed=131072
    
    [Demo]
    # The default will be true for Nova-Demo, false for all others.
    # EnableGestureRepeater=true
    GestureRepeaterIp=192.168.1.106
    GestureRepeaterPort=5001
    
    [CpuShare]
    UiMainLow=256
    UiOtherLow=128
    JavaLow=128
    WebLow=64
    Default=1024
    
    [Launcher]
    LauncherLabelWidthAdjust=0
    LauncherLabelXPadding=0
    LauncherIconReorderPositionThreshold=20
    Killing the browser immediately rather than keeping it on has seemed to free up a lot of ram.
  7. #767  
    ok two more quick questions if you dont mind, did you comment out the over commet in lunasys? and i know this is a stupid one, but i having a slow day. what are you doing to completely disable compcahe?
    thanks
  8. #768  
    Yes I commented out lunamanager overcommit.

    Ur compcache file should look like this.

    Code:
    # -*- mode: shell-script; -*-
    start on stopped swaphack
    stop on runlevel [!2]
    console none
    script
    if [ -e /etc/palm/preferences/compcache_enabled ]; then
    	swapoff -a
    	sleep 1
    	modprobe xvmalloc
    	#modprobe ramzswap disksize_kb=131072 
    	sleep 3
    	#swapon /dev/ramzswap0 -p 100
            mkswap /dev/store/swap
            swapon /dev/store/swap
    fi
    end script


    -- Sent from my Palm Pre using Forums
  9. #769  
    I converted back my luna.conf so I could install your new patch but I still want to get rid of the browser being kept open till low mem limit and change that bottom mem number from 512 to 256. Can I still do that? Which file do I edit the regular one or the webosinternals orig file?


    -- Sent from my Palm Pre using Forums
  10. #770  
    Quote Originally Posted by graffix31 View Post
    I converted back my luna.conf so I could install your new patch but I still want to get rid of the browser being kept open till low mem limit and change that bottom mem number from 512 to 256. Can I still do that? Which file do I edit the regular one or the webosinternals orig file?


    -- Sent from my Palm Pre using Forums
    The patch only modifies the parts of Luna.conf that deal with the Tap Radius,

    the rest is untouched.

    So you can remove the browser from Keep Alive and it will not be affected by the patch.
  11. #771  
    You edit the luna.conf file right? Not the webosinternals file.


    -- Sent from my Palm Pre using Forums
  12. #772  
    Correct

    -- Sent from my Palm Pre using Forums
  13. #773  
    making progress.

    This is without a doubt, absolutely the best sysctl.conf settings I have used. I am locking it at this as far as the WebOS-Internalz post goes.

    Code:
    vm.swappiness = 80
    vm.vfs_cache_pressure = 400
    vm.dirty_expire_centisecs = 500
    vm.dirty_writeback_centisecs = 200
    vm.dirty_background_ratio = 5
    vm.dirty_ratio = 3
    vm.min_free_kbytes = 1024
    vm.max_map_count = 32768
    vm.overcommit_memory = 0
    vm.overcommit_ratio = 10
    vm.zone_reclaim_mode = 2
    kernel.shmax = 268435456
    kernel.shmall = 16777216
    sched_compat_yield = 1
    vm.lowmem_reserve_ratio = 1024
    This, combined with commenting out Browser Keep Alive in Luna.conf as well as commenting out Overcommit in Lunasysmanager makes a world of difference.

    I am using it right now with 500mb swap file.

    Next tests are going to look at using the above with 32mb, 96mb and 128mb compcache. Seeing if there is any performance gain or loss from having compcache and 500mb swap, or if no compcache is best.

    Then, I am going to see if disabling or adding 1mb of disk cache is better, after I determine if compcache is better or not.

    Then finally, I will both write a WebOS Internals wiki on how to do all this step by step, as well as other patches and things that help.

    as well as make an .ipk that simply automates the entire procedure for you.
  14. #774  
    How much of use is this on a Pre Plus w/2.1? Right now, the phone never uses any swap space. I think Govnah said it used 1MB one time. It can get up to about 488 of the RAM. Would a Pre+ need to grow the swap space and fiddle with the compcache?
    screwdestiny
    PSN Twitter Last.FM
  15. #775  
    Quote Originally Posted by rmausser View Post
    Then finally, I will both write a WebOS Internals wiki on how to do all this step by step, as well as other patches and things that help.

    as well as make an .ipk that simply automates the entire procedure for you.
    Please coordinate with me on that last step, so we can make sure we get it properly packaged and into a Preware feed, and make sure it cooperates well with Govnah and the range of kernels.

    Thanks,

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  16. #776  
    Quote Originally Posted by malpha View Post
    How much of use is this on a Pre Plus w/2.1? Right now, the phone never uses any swap space. I think Govnah said it used 1MB one time. It can get up to about 488 of the RAM. Would a Pre+ need to grow the swap space and fiddle with the compcache?
    Not much use. Count your blessings you have 512mb of ram.


    -- Sent from my Palm Pre using Forums
  17. #777  
    Quote Originally Posted by rwhitby View Post
    Please coordinate with me on that last step, so we can make sure we get it properly packaged and into a Preware feed, and make sure it cooperates well with Govnah and the range of kernels.

    Thanks,

    -- Rod
    Absolutely.

    -- Sent from my Palm Pre using Forums
  18. #778  
    Quote Originally Posted by rmausser View Post
    making progress.

    This is without a doubt, absolutely the best sysctl.conf settings I have used. I am locking it at this as far as the WebOS-Internalz post goes.

    Code:
    vm.swappiness = 80
    vm.vfs_cache_pressure = 400
    vm.dirty_expire_centisecs = 500
    vm.dirty_writeback_centisecs = 200
    vm.dirty_background_ratio = 5
    vm.dirty_ratio = 3
    vm.min_free_kbytes = 1024
    vm.max_map_count = 32768
    vm.overcommit_memory = 0
    vm.overcommit_ratio = 10
    vm.zone_reclaim_mode = 2
    kernel.shmax = 268435456
    kernel.shmall = 16777216
    sched_compat_yield = 1
    vm.lowmem_reserve_ratio = 1024
    This, combined with commenting out Browser Keep Alive in Luna.conf as well as commenting out Overcommit in Lunasysmanager makes a world of difference.

    I am using it right now with 500mb swap file.

    Next tests are going to look at using the above with 32mb, 96mb and 128mb compcache. Seeing if there is any performance gain or loss from having compcache and 500mb swap, or if no compcache is best.

    Then, I am going to see if disabling or adding 1mb of disk cache is better, after I determine if compcache is better or not.

    Then finally, I will both write a WebOS Internals wiki on how to do all this step by step, as well as other patches and things that help.

    as well as make an .ipk that simply automates the entire procedure for you.
    I have to agree. I am running the same setup pretty much and am blown away by it.

    -- Sent from my Palm Pre using Forums
  19. #779  
    Can't wait for a tutorial/ipk to test this all out! My 2.1 Pre- is super rough sometimes.
    Quote Originally Posted by rwhitby View Post
    We always prefer that people donate in response to tangible items they can use today, rather than for intangible promises about the future that may or may not be possible to achieve.
  20. #780  
    These settings are good, however, I am still finding an issue:

    No matter what we set the swap size to, its obvious that once it hits about 100mb in size, the kernel freaks out and desperately tries to shrink it.

    Once my swap hits 100mb, things still tend to get 'locky' and even once in a while I will get a reboot.

    There must be somewhere telling the kernel 'swap capacity = 100mb'

    We need to find out how to change this to say, 450mb or else our 500mb swap files are useless.

    -- Sent from my Palm Pre using Forums

Posting Permissions