-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian/Ubuntu: Executable isql is not firebird related #1
Comments
Hello Mikkel! Sorry for my too late reply. I will try to fix this, perhaps by introducing new optional parameter into oltpNN_config.nix files. PS. |
Fix completed, please get recent version of test again. |
Nice, thanks. I see it as a part of a5286bf. I'll do some testing when time permits. Currently we coped with some benchmark numbers from a proprietary tool but we are blind regarding test conditions and functions and thus unsure how to interpret comparisons between systems properly. Does you note about differing firebird.conf paths affect running the suite on Ubuntu/Debian? When attempted I saw it halt after ~4 minutes when I expected a default test_time of 180 plus warm_time of 30. Didn't go deep into analysing the output so maybe some basic rquirement was still not satisfied after doing the isql-fb trick. |
|
|
Hi Pavel. Regarding the use of the Ubuntu package; in GNU/Linux (*NIX, POSIX or however you prefer to refer to such a system) it is normally regarded as a good, secure and robust practise to use a distribution's packages if at all possible. This is done to reduce the probability of upgrades causing issues and to have the distribution's approach to software installation applied to as much as the system as possible to reduce interference between installed software. At the moment I don't think we'll have the time to deep dive into doing a full oltp_emul test, sadly. But I'll promise to test the $clu config var on my system and report back. |
If you speak about firebird.conf then default value of DefaultDBCachePages, LockHashSlots and LockMemSize definitely can be a reason of test show very poor performance.
OK, please feel free to ask any questions about test. Better on e-mail than here - i will be noticed about your message immediately in this case. |
|
I spoke too soon. There are two places in
|
On Debian/Ubuntu the isql executable in default $PATH (/usr/bin/isql) is from the unixodbc package (ubuntu/debian) and the isql from the firebird package (ubuntu/debian) has been renamed to isql-fb to avoid conflict.
On an Ubuntu 16.04 system:
This means that using the src/1run_oltp_emul.sh script from the repository configured with $fbc=/usr/bin is failing of non-obvious reasons when it executes the unixodbc isql which takes different arguments than isql-fb:
Even worse, a user cannot configure the script or environment to use the binaries directly from /usr/bin as the script is hardcoded to call the executables by absolute paths as $fbc/isql and $fbc/fbsvcmgr, respectively.
If the script just used the isql and fbsvcmgr in $PATH a user would be able to modify the path externally to satisfy oltp-emul.
Instead one has to do tricks like the below and point $fbc to ~/oltp-emul/bin to make the benchmark run:
The text was updated successfully, but these errors were encountered: