From: Harry M. <hj...@ta...> - 2005-11-22 04:02:20
|
Hi Rick, Thanks for the zippy reply - much appreciated. Just a suggestion - one of the tests that should run (maybe it does and I missed it) is one that checks for the kernel version. It seems odd that NONE of the tests fail (I thought that originally the threads test failed, but in the output below, they pass). Seems like a pretty good test result for something that won't run :) I read the Linux Journal article which had no mention of the 2.6 kernel prohibition and I must have missed the part where this was noted. In the INSTALL, it mentions: 124 Currently, the latest 2.6.x release of perfctr is the best choice of 125 versions for new installations of the driver. Please read the 126 instructions in the perfctr distribution carefully. which implies that the 2.6 kernel is supported. I can't argue with free SW, and I'm trembling with antici.....pation :) for the 2.6 supporting version, but it might have been made clearer. If there's currently a cvs/svn version of perfsuite, I'd be willing to give it a try. Also, the difference between root and user was only due to permissions on /dev/perfctr. changing to a+r allowed a normal user to obtain the same results. Do you have any idea if the new version of PAPI will allow perfsuite to run on 2.6 (ie is the reason it won't run due to PAPI or due to perfsuite?) FYI, below is the output of the perfsuite tests on my system. hjm 19:42:49 hjm@clay ~/perfsuite-0.6.2a2 502 $ sudo make -s check Password: Making check in src Making check in libperfsuite Making check in . Making check in tests ## ------------------------------------------- ## ## PerfSuite 0.6.2a2 test suite: Core Library. ## ## ------------------------------------------- ## 1: Hello, world! ok 2: CPU identification ok 3: CPU speed information ok 4: CPU speed information (Fortran) ok 5: CPU usage ok 6: error reporting ok 7: error reporting (Fortran) ok 8: argument processing ok 9: proc filesystem ok 10: memory usage reporting ok 11: memory usage reporting (Fortran) ok 12: dynamic memory usage reporting ok 13: hash tables ok 14: load map address inquiry ok ## ------------- ## ## Test results. ## ## ------------- ## All 14 tests were successful. Making check in libpshwpc Making check in . Making check in arch-defaults Making check in doc Making check in xml Making check in css Making check in dtds Making check in xsl Making check in tests ## ----------------------------------------------------------- ## ## PerfSuite 0.6.2a2 test suite: Hardware Performance Library. ## ## ----------------------------------------------------------- ## 1: base PAPI functionality ok 2: PAPI compatibility ok 3: PAPI to PerfSuite conversion (C/Fortran) ok 4: PAPI with POSIX threads (non-multiplexed) ok 5: PAPI with POSIX threads (multiplexed) ok 6: XML input document parsing (counting) ok 7: XML input document parsing (profiling) ok 8: inquiry (numevents) ok 9: inquiry (numevents) error handling ok 10: inquiry (numevents = 0) ok 11: serial program (counting) ok 12: serial program (profiling) ok 13: serial program (profil) ok 14: serial program (itimer) ok 15: serial program (counting auto) ok 16: serial program (profiling auto) ok 17: serial program (profil auto) ok 18: serial program (itimer auto) ok 19: serial program (counting Fortran) ok 20: serial program (profiling Fortran) ok 21: serial program (profil Fortran) ok 22: serial program (counting Fortran auto) ok 23: serial program (profiling Fortran auto) ok 24: serial program (profil Fortran auto) ok 25: serial program (itimer Fortran auto) ok 26: fork (counting) ok 27: fork (profiling) ok 28: POSIX threads program (counting) ok 29: POSIX threads program (profiling) ok ## ------------- ## ## Test results. ## ## ------------- ## All 29 tests were successful. Making check in tcllib Making check in psutils Making check in pshwpc Making check in metrics Making check in xml Making check in dtds Making check in papi Making check in msgs Making check in perfmon Making check in psxml Generating top-level PerfSuite Tcl package index Making check in tools Making check in psenv Making check in doc Making check in psinv Making check in . Making check in doc Making check in tests ## ------------------------------------ ## ## PerfSuite 0.6.2a2 test suite: psinv. ## ## ------------------------------------ ## 1: psinv (basic) ok 2: psinv (features) ok 3: psinv (hardware performance events) ok 4: psinv (verbose) ok 5: psinv (version) ok 6: psinv (help) ok ## ------------- ## ## Test results. ## ## ------------- ## All 6 tests were successful. Making check in psprocess Making check in tcl Making check in doc Making check in msgs Making check in tests ## ---------------------------------------- ## ## PerfSuite 0.6.2a2 test suite: psprocess. ## ## ---------------------------------------- ## 1: psprocess (help) ok ## ------------- ## ## Test results. ## ## ------------- ## 1 test was successful. Making check in PSConfig Making check in doc Making check in psrun Making check in . Making check in doc Making check in xml Making check in dtds Making check in tests ## ------------------------------------ ## ## PerfSuite 0.6.2a2 test suite: psrun. ## ## ------------------------------------ ## 1: psrun (basic) ok 2: psrun (profil) ok 3: psrun (itimer) ok 4: psrun (count) ok 5: psrun (count text) ok 6: psrun (profile) ok 7: psrun (resource) ok 8: psrun (resource text) ok ## ------------- ## ## Test results. ## ## ------------- ## All 8 tests were successful. Making check in ext Making check in tklib Making check in plotchart Making check in examples Making check in cpi Making check in hl Making check in matvec Making check in misc Making check in psrun-raw Making check in pstcl Making check in threadrun On Monday 21 November 2005 06:38 pm, Rick Kufrin wrote: > Harry, > > > Like a recent poster here on the list, I cannot get psrun to work. > > > > I'm running Kubuntu on a dual opteron, have patched the kernel (2.6.11) > > for both oprofile & papi and all PAPI tests pass. All the perfsuite > > tests pass as well (except the thread tests, which I'm not concerned > > about just now). > > Thanks for forging ahead with trying to get things running. It sounds > like you've gotten all the prerequisites going just fine. But I would > guess that the reason why you are running into problems is that you are > working with a 2.6 kernel. To date, there hasn't been a PerfSuite release > meant for use with anything but 2.4. > > That's the bad news, but the good news is that an updated release should > be coming out shortly, and that is being developed against 2.6. So I'd > advise you to wait until available, and try again. > > The different behavior when run as a normal user and as root is a little > worrisome, though, as there should be no need to have any special > privileges to run psrun (unless you are working with things like SUID > binaries). > > The "hardware event not available" error message means pretty much what it > says - that the event listed in the configuration file is not available on > that platform. There have been a few updates to PAPI over the past > several months and a new release out just today, for which events listed > in the configuration files will be checked against the current PAPI > support before the next PerfSuite release. > > Thanks much for the report, > Rick -- Cheers, Harry Harry J Mangalam - 949 856 2847 (vox; email for fax) - hj...@ta... <<plain text preferred>> |