Please provide me with any links or documents that can describe the performance statistics, time taken to find a file etc… for both Unix ‘find’ and QNX ‘find’ command. Consider that the commands are executed with same parameters.
I tried executing both variants on my QNX & UNIX OS system as:
find / -name ‘*.doc’
** where root drive has 6000 files in 1500 folders with no ‘.doc’ folder.
This means that the find command shall search the entire directory strucutre.
Results: QNX find took about 12 secs, Unix about 23 secs.
Thank you very much.
Even if there are directories named doc, you could put -type f
D: ? this does not really sound like qnx nor like unix.
I also never realized some significant time differences, also
just some small syntax differences. At last both do their job,
the are trying to find your expression.
Only one thing i had trouble with in the startup.
-exec did not work the way i intended on QNX.
Thanks. Was just trying to find out the performance issues.
In case you get more info, kindly post it here.
Performance would be hard to compare. Either system might have already cached some or all of the needed sectors to perform the operation so it would be hard to find a meaningful benchmark.
You might be interested in knowing that the QNX 6 implementation of its file system is a bit on the pokey side. This has been a long outstanding issue, and my understanding for why it has not be addressed is that the target market for QNX 6 being embedded systems, not servers, can live with this.
I’ve heard the problem blamed on the novel way that the implementation was turn upside down from the way QNX 4 implemented it, but I don’t know this for sure.