> I've wrote "[!] 2-3 arg ops" openly. Now i have to reinvent "( -a -o )"
> stuff. And i just thought, it doesn't pay much. So far i didn't see
> convincing technical counter examples for my proposition A. That is
> the point.

* Sat, Oct 20, 2007 at 05:17:04AM +0200, Oleg Verych:

> This particular issue is about *size*, that seemed to be needless, from
> the background i've showed. A key feature for klibc.

That is how it makes more sense. (Was thinking about that, before
switched to multiple stat() reply.)


** Sat, Oct 20, 2007 at 05:17:04AM +0200, Oleg Verych:
> * Sat, Oct 20, 2007 at 09:39:09AM +0800:
> 
> > On Fri, Oct 19, 2007 at 09:31:04PM +0200, Oleg Verych wrote:
> > >
> > > _Optimization_, i.e. to do not call stat() on the same file on and on.
> > > This is just silly.
> > 
> > Pure Linux system call overhead is pretty low already.  Besides,
> > that same file will be cached by the kernel.
> 
> Running stat() on and on is silly in general sense. Of course it runs
> quickly, who counts preparation? It's like interactive dash: no history,
> re-typing commands from scratch, but they run pretty fast!

What about caching and NFS?


Anyway. Seems i lost time, when any, even ugly, changes were welcome.
Only kernel is hype for developers, even when userspace is quietly
sucking under the table.

Those brave busybox developers from the LKML...

#
[EMAIL PROTECTED]:$ c="strace -f busybox sh -c"
[EMAIL PROTECTED]:$ $c 'echo ; echo ; false ; true' 2>&1 | grep 'ld.so' | wc -l
30
[EMAIL PROTECTED]:$
[EMAIL PROTECTED]:$ $c 'echo ; echo ; false' 2>&1 | grep 'ld.so' | wc -l
24
[EMAIL PROTECTED]:$ $c 'echo ; echo' 2>&1 | grep 'ld.so' | wc -l
18
[EMAIL PROTECTED]:$ $c 'echo' 2>&1 | grep 'ld.so' | wc -l  12
[EMAIL PROTECTED]:$ $c '' 2>&1 | grep 'ld.so' | wc -l
6
[EMAIL PROTECTED]:$
[EMAIL PROTECTED]:$ d="strace -f dash -c"
[EMAIL PROTECTED]:$ $d 'echo ; echo ; false ; true' 2>&1 | grep 'ld.so' | wc -l
4
[EMAIL PROTECTED]:$
#


I bet all klibc commands can fit perfectly in the [d]ash's built-in
schema, thus saving paged fs space. Busybox goes to the forest.
--
-o--=O`C
 #oo'L O
<___=E M
-
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to