Hello Dave:
I have concluded my 1st phase efforts to construct a performance
enhanced LiS based on off the shelf LiS.
I'll provide the code to the LiS project for the benefit of
all LiS users. Will you accept the submission and include it
in the going forward releases?
I have source code for both LiS-2.16.11 and LiS-2.16.12. The
performance gain is nearly 100% compared to the off the shelf
LiS distribution. The changes include:
1) LiS can now be compiled for development or production
use. The Configure script prompts the user for the
attribute (development or production) of LiS they
would like to build. A production built LiS achieves a
large portion of the 100% performance improvement.
When compiled with the production attribute, LiS code
path tracing and lock & semaphore use tracing is
disabled.
Also, with the production attribute, LiS no longer
obtains __FILE__ and __LINE__ function parameters
from the LiS user and consequently, no longer carries
__FILE__ and __LINE__ function parameters through
to all the internal LiS functions. This reduces LiS
execution time by eliminating the need for two 32-bit
stack values for nearly every LiS function call.
2) LiS can now be compiled to use Linux kmem_cache for
LiS queue and mblk structures. The Configure script
prompts the user for this choice.
This is an enhancement that uses Linux kmem_cache
storage for LiS queue and mblk structures instead
of conventional kernel memory.
The enhancements have been tested with several Adax drivers
running for many consecutive days over the past month.
I look forward to your response.
Matt Gierlach - Adax, Inc.
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams