On Saturday 23 Apr 2011 22:51:47 Juiceman wrote:
> On Sat, Apr 23, 2011 at 1:58 PM, Matthew Toseland
> <toad at amphibian.dyndns.org> wrote:
> > This is a very small and very promising patch, but we would need to include 
> > the JNA library. The JNA library allows us to conveniently call native APIs 
> > without JNI code. We could use this for not only what this patch does - set 
> > background mode to significantly reduce system impact of our on-startup 
> > disk I/O - but also for setting thread priorities on unix, for which we 
> > currently have a native JNI library. And there may well be other things 
> > we'd like to call native libraries for too.
> >
> > Also its platform detection code might well replace our existing code in 
> > that area - or at least some of it.
> >
> > The catch is the library is 900KB, and the platform library (which I think 
> > just has some standard convenience functions) is 700KB. So we might be 
> > looking at increasing the download by 1.6MB.
> >
> > Thoughts? I'm in favour but not totally convinced...
> >
> > The original pull request (more info in attached messages):
> > https://github.com/freenet/fred-staging/pull/29
> >
> >
> 
> The ext is updated very rarely so it should not be an issue with the
> update script, and users are used to downloading large install files
> since there is such bloatware out there.  Our main user base has
> broadband so it shouldn't be a big problem for them.  How will it
> affect our hosting bandwidth?

The download is already nearly 10MB. So it's not a huge increase.
> 
> Imho, the benefits of improving system responsiveness far outweigh the
> minor increase in file size.

Yes. And we get a reduction in code complexity, maintenance and probably an 
improvement in cross-platform support too (from getting rid of the nativethread 
libraries).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20110423/775f351b/attachment.pgp>

Reply via email to