DragonFly BSD
DragonFly commits List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern imgact_elf.c init_main.c kern_checkpoint.c kern_descrip.c kern_event.c sys_generic.c sys_pipe.c uipc_syscalls.c uipc_usrreq.c vfs_aio.c vfs_syscalls.c src/sys/sys filedesc.h src/sys/dev/misc/streams streams.c ...

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jun 2005 10:53:08 -0700 (PDT)

:    Lets quantify slower.
:    Bytes per entry (before):	9	(three separate arrays)
:    Bytes per entry (after):	16	(one array of fdnodes)
:    Linear copy rate:	1 gigabyte sec
:    Do I need to continue and calculate how many nanoseconds longer
:    it takes to do something that isn't in the critical path?

    Sorry, I meant:  before = 9 bytes, after = 12 bytes.

    The assembly generated is actually fairly optimal, so I don't think
    I need to pad it 16 bytes.  The index is converted with two instructions
    and does not use a multiply.

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]