Re: Question about serial console code

2007-06-17 Thread Christian Kandeler
On Friday 15 June 2007 18:03, Marcel Moolenaar wrote: > The loop is formed by the transmit interrupt of the UART. > When UART_TRANSMIT() is called, the FIFO of the UART is > written and transmission starts. Eventually the UART will > raise a "transmission done" interrupt, which will trigger > the

Re: Rearchitecting pkg_install (was Re: Using shell commands versus C equivalents)

2007-06-17 Thread Garrett Cooper
Tim Kientzle wrote: I've also seen a 3x speedup by using my reimplementation of pkg_add using my package management library, libpkg (http://libpkg.berlios.de). It is not production ready yet as if it fails partway through an installation it won't clean up and installed files. I *think* a good w

Rearchitecting pkg_install (was Re: Using shell commands versus C equivalents)

2007-06-17 Thread Tim Kientzle
I've also seen a 3x speedup by using my reimplementation of pkg_add using my package management library, libpkg (http://libpkg.berlios.de). It is not production ready yet as if it fails partway through an installation it won't clean up and installed files. I *think* a good way to do this is to:

Re: Using shell commands versus C equivalents

2007-06-17 Thread Andrew Turner
On Sun, 17 Jun 2007 09:27:32 -0700 Garrett Cooper <[EMAIL PROTECTED]> wrote: > Your source looks very nice, but there are a few comments: > > 1. How do you read BDB stuff without including the BDB headers/libs? I don't. I've only implemented enough to reimplement pkg_{add,delete,info}. None of the

Re: Fwd: AMD deciding _now_ what to do about Linux

2007-06-17 Thread Mike Meyer
In <[EMAIL PROTECTED]>, mal content <[EMAIL PROTECTED]> typed: > Docs are more important than drivers. Please ask for > docs. Yes. Drivers get us drivers for the platforms they decide to support, which will pretty much kill development on the open source drivers (check out the open source NVidia a

Re: Using shell commands versus C equivalents

2007-06-17 Thread Garrett Cooper
Andrew Turner wrote: On Sat, 16 Jun 2007 21:53:06 -0700 Tim Kientzle <[EMAIL PROTECTED]> wrote: Also, were the bottlenecks seen in pkg_delete and pkg_add, or does it appear to be distributed across the board? The biggest time sink in pkg_add is writing each file to a temp dir then

Re: Using shell commands versus C equivalents

2007-06-17 Thread Andrew Turner
On Sat, 16 Jun 2007 21:53:06 -0700 Tim Kientzle <[EMAIL PROTECTED]> wrote: > >Also, were the bottlenecks seen in pkg_delete and pkg_add, or > > does it appear to be distributed across the board? > > The biggest time sink in pkg_add is writing each file to a temp > dir then copying it to its f

Re: Using shell commands versus C equivalents

2007-06-17 Thread Peter Jeremy
On 2007-Jun-16 23:47:51 -0700, Garrett Cooper <[EMAIL PROTECTED]> wrote: > Tim Kientzle wrote: >> The biggest time sink in pkg_add is writing each file to a temp >> dir then copying it to its final location. There are a couple ... >Hmmm.. not sure if you're referring to the temp creation of fi