Page 5 of 6 FirstFirst 123456 LastLast
Results 41 to 50 of 51

Thread: Boot times

  1. #41
    Newbie
    Join Date
    Jun 2003
    Posts
    35
    i was originally alluding to the 'wrapper' idea as the best idea for a dfb app. the only difference is that i suggest doing the transformation every time an input is received from the touchscreen, in the app itself. to better illustrate, the raw data (x,y) is received by dfb via the linux input event driver. then, the linear transformation is applied (determined by the calibration app), giving (x',y'), which is actually used to determine location of the touchscreen event. i'm not sure if this can easily by done programmatically, but if it can, i think it would be the best solution.

    but steels has the ideas figured out, so thats all that matters...

    i think using libusb is a more convoluted method than the wrapper method, as it entails a low-level understanding of the protocol touchscreens, and each particular model, use. applying a transformation matrix to the event driver should be much simpler.

    jbors - how do you do calibration in your app?

    as for a standard method, i think it really depends on what interface you're using: x has its own 'standard' method that is probably useable across desktops, dfb has the potential of having another 'standard' method, and the console may not have a real good use (maybe ncurses-style programs?). but you do bring up a good point - maybe a dfb app can be written to use the modified/calibrated touchscreen data like x programs do. this is what i thought to do initially, but why do that when the only app you're running is a front-end? this is why i think for this particular application, an internal calibration routine is simplest. hope that makes sense.

    steels, can you start a new thread about your app? i for one am very interested, and it seems as though there are many others as well. and we're clobbering this boot time thread...

  2. #42
    Newbie Steels's Avatar
    Join Date
    May 2005
    Posts
    10
    Quote Originally Posted by ruzzmon
    steels, can you start a new thread about your app? i for one am very interested, and it seems as though there are many others as well. and we're clobbering this boot time thread...
    ok ill do, for sure. i just didnt go to school since monday and i havent done anything new to the app. But im gonna finish a 'beta' version soon, to be used in my own car at least, and ill post it here.

  3. #43
    Newbie
    Join Date
    Nov 2006
    Location
    Akron, Ohio
    Posts
    7
    Quote Originally Posted by Steels View Post
    Future plans:
    Video playing, GPS, file manager, wifi, and replace initscripts, i guess hardcoded c is way faster than all-guessing bash scripts
    I've thought about replacing the startup scripts with a compiled program as well. But as I started thinking about it more, what I was trying to get around was the init.d-style scripts that load bash and possibly other files over and over again - one for each script in init.d. It's good for script-management, but horrible for efficiency. A BSD-style init script would almost eliminate that, though. However, if you still try the compiled rc script, I'd be interested in hearing if it makes a noticable difference.

    -Link

    P.S. First post, hello all

    Edit: P.P.S. Holy crap I just realized this was a year old. Sorry

  4. #44
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by Link420 View Post
    I've thought about replacing the startup scripts with a compiled program as well. But as I started thinking about it more, what I was trying to get around was the init.d-style scripts that load bash and possibly other files over and over again - one for each script in init.d. It's good for script-management, but horrible for efficiency. A BSD-style init script would almost eliminate that, though. However, if you still try the compiled rc script, I'd be interested in hearing if it makes a noticable difference.

    -Link

    P.S. First post, hello all

    Edit: P.P.S. Holy crap I just realized this was a year old. Sorry
    Don't think it will help. Intepreted vs compiled is not that big a deal. Most shell scripts are small so it's not a lot of code either way (though don't know how bash/sh fair vs something like Perl which is a bit of both, compiled to opcodes).

    Compared to the time to actually create the process, it's probably negligable.

  5. #45
    Low Bitrate
    Join Date
    Sep 2006
    Posts
    80
    i'm at 30 sec from coldboot in gentoo booted into x autologed in through gdm before vlc starting to play music. i then have all the other apps preload onto other desktops ready to go when i want them. prob can shave another 3 sec off if a compile a few more drivers into the kernel.

  6. #46
    Variable Bitrate Redian's Avatar
    Join Date
    Apr 2006
    Location
    Connecticut, USA
    Posts
    399
    you must be the messiah wirelessdreamer, cuz you did one hell of a job bring this thread from the dead...

    but yeah... although not for a carPC, my ubuntu partition on a pretty decent computer is about 27 seconds total.. mostly ubuntu booting up cuz the bios is stripped as much as it can be
    2004 Impreza WRX CarPC Install

    I am willing to host any legal downloads that may benefit the CarPC community - PM for info

    "When you go 0-60 in 4.5 seconds, you don't need a made up character called fast. Thats what makes a Subaru, a Subaru."

    DG4L

  7. #47
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by Redian View Post
    you must be the messiah wirelessdreamer, cuz you did one hell of a job bring this thread from the dead...

    but yeah... although not for a carPC, my ubuntu partition on a pretty decent computer is about 27 seconds total.. mostly ubuntu booting up cuz the bios is stripped as much as it can be
    I'm nearing to 36 seconds for resume2, but my BIOS post takes 10 for itself

  8. #48
    blk
    blk is offline
    Newbie blk's Avatar
    Join Date
    Jun 2006
    Location
    Switzerland
    Posts
    44
    20 secs total from power on (Via EPIA MII-1Ghz, 512 Ram) -> stripped ubuntu (start with a server install, compile your own kernel (or at least take the desktop kernel, as it's using preemption))
    initng -> might switch back to upstart.. i came from sys V init..
    ratpoison vm (might use matchbox in future)

    disable networking if you don't need it or tweak your dhcp.conf file if needed (check the nghost forum on this)

    [edit]
    - i'm not using any resume software (swsusp and stuff) -

  9. #49
    Constant Bitrate
    Join Date
    Jun 2006
    Location
    Chicago, IL
    Posts
    143
    29sec to start music on 1GHz epia-tc, bios takes quite a bit, since my bios rom is soldered to MB, I didn't risk screwing it up, but I think seriously about linuxbios. I also replaced HD with flash disk, this gave me additional savings in boot time.
    EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
    Lilliput 8", Pharos i360, WUSB11v2.6 WiFi

  10. #50
    Newbie
    Join Date
    Nov 2006
    Location
    Akron, Ohio
    Posts
    7
    Quote Originally Posted by wirelessdreamer View Post
    i'm at 30 sec from coldboot in gentoo booted into x autologed in through gdm before vlc starting to play music. i then have all the other apps preload onto other desktops ready to go when i want them. prob can shave another 3 sec off if a compile a few more drivers into the kernel.
    If you're looking to minimize time to playing music, try something that doesn't require X, like mpd. Put it early in the startup process and it can start playing before X even begins to load. mpd has several different X frontends available for the interface.

Page 5 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. How to optimize Windows XP boot times
    By 12Vsystems in forum WinNT Based
    Replies: 1
    Last Post: 05-12-2005, 11:36 AM
  2. Question about M10000 boot times - very slow..
    By kingvitamin in forum General Hardware Discussion
    Replies: 8
    Last Post: 05-07-2005, 04:53 PM
  3. Question On Boot Times
    By mybrotherrob in forum General MP3Car Discussion
    Replies: 19
    Last Post: 05-04-2005, 11:32 PM
  4. Mac Boot Times
    By BiohazrD in forum MacCar
    Replies: 10
    Last Post: 01-21-2005, 11:33 PM
  5. Decreasing boot times
    By schrodos in forum Software & Software Development
    Replies: 22
    Last Post: 02-07-2001, 05:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •