Doug Cutting wrote:

Andrzej Bialecki wrote:

The advantage of using native lib is that you avoid fork/exec cost, and I guess during the lifetime of NutchFS there would be quite a few calls to the native utilities... I'm afraid this would give a poor performance. Also, on different Unixes (and on Cygwin) command-line parameters for many FS-specific utilities are different.


I still would like to try to first make it work with just shell commands. Yes, it will be slower than native, but I don't think we should need to perform these operations so frequently that this will be a big issue. Command-line options could be an problem too, but let's give it a try first. If these are a problem, we could simply require that the GNU versions are used by, e.g., examining the output of 'mv --version' and 'df --version'. The GNU utils are the default on lots of Unix implementations, and will run on the rest.

Hmmm. Yes, it's worth a try, if only for the simplicity's sake... If you come up with a skeleton I can help filling in the details for RedHat, Cygwin and FreeBSD.


BTW. in the *BSD camp the suggestion to use GNU versions of basic OS utilities would be frowned upon by most admins... ;-)

--
Best regards,
Andrzej Bialecki

-------------------------------------------------
Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
-------------------------------------------------
FreeBSD developer (http://www.freebsd.org)



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to