I want to analyze my CPU with profiller, i choose IBS OP Samples and run it. But then show the error message "Error : IBS profiling is disabled in the BIOS settings". I go to my BIOS setting, but i dont find IBS in my BIOS. Can anyone help to fix this. I use AMD uProf for the Profiller.
See if Github website helps in solving your problem. GitHub - jlgreathouse/AMD_IBS_Toolkit: AMD Research Instruction Based Sampling Toolkit .
The toolkit may provide the necessary driver and software to make it work without configuring any BIOS settings.
Copied from Github Link:
This toolkit has been tested to compile and install on the following systems:
In addition, it has been tested on the following processors, though its logic should work for any processors in AMD Families 10h, 12h, 14h, 15h, 16h, or 17h that support IBS:
Edit: 08/06/2018 - Found out the information I gave about IBS running in Linux only was incorrect. Deleted it to prevent confusion in the future. IBS is a CPU Hardware feature that can be accessed with the proper BIOS settings and software regardless of OS.
The following response to a different, but similar, thread may help answer your question: https://community.amd.com/thread/230335#2871019
In summary, Family 17h processors with "Zen" CPUs (Model 01h Ryzen, ThreadRipper, and Epyc systems, and Model 11h "Raven Ridge" APUs are examples of these) do not necessarily have IBS capabilities enabled in the hardware by default. There are a series of steps the BIOS must go through to enable IBS, and your system's BIOS may not have that turned on by default.
The Linux IBS toolkit that elstaci linked above goes through these steps when installing our custom research driver. However, as you've noted, that is for Linux only. We have not made a similar research driver available for Windows (primarily because this was not an official product release, and the authors of this toolkit were primarily Linux developers). If your BIOS allows you to enable IBS, it should work in Windows -- so I don't think that elstaci's statement that IBS is meant to run in Linux is correct.
If you do not see a setting in your BIOS to enable IBS, you may want to contact your system vendor (or motherboard vendor) to see if they've renamed the option or if it's hidden in some sub-menu. If they've not made the option available, you may want to request a BIOS update that has this setting available. We make IBS enable/disable available as part of our AGESA system that we release to BIOS vendors. That said, your vendor may not want to go through the process and cost of enabling and validating this feature for what is likely to be a relatively small group of customers. Developers requesting hardware performance monitoring features are a potentially small market, so I, unfortunately, can't guarantee that your system vendor will give you an update that allows you to use IBS on your system.
It might be useful and informational if you put a note at Github that your AMD Toolkit would work in a Windows Environment if BIOS is able to enable IBS. Or at least have a link to where it would instruct on how to use the IBS in a Windows environment.
Otherwise, for those who are not familiar with IBS they may believe IBS was designed only for Linux environment. Which was the impression I got since I couldn't see any references to Windows in your toolkit.
Anyway, at least you answered the OP post. Maybe you should move this to post to AMD Server Gurus
For what it's worth, the AMD Research IBS Toolkit will not work on Windows, even if your BIOS enables IBS. That toolkit is specifically a research platform for using IBS hardware on Linux. I'll try to emphasize that the GitHub link above is primarily meant to enable hardware and systems software researchers, and the entirety of that toolkit is specifically focused on Linux.
IBS, the hardware performance monitoring feature available in AMD processors, should work in Windows if your BIOS supports it. You would likely use software like uProf to access it, though I am personally unfamiliar with the exact mechanisms for accessing IBS on Windows, as I do nearly all of my development in Linux.
Can the OP run a clean Linux Environment on his computer from a DVD and then use your AMD Toolkit or would he need to install Linux on his hard drive with full drivers for the AMD Toolkit to work correctly?
I am not familiar with IBS which is why I am asking all these questions. I understand now that IBS is not a software but a hardware feature. I also understand now that your AMD Toolkit is software to access the IBS feature in CPUs that have it running under a Linux environment and not under Windows environment.
So basically the OP is out of luck. He did mention that he is using uProf but it is asking to enable IBS in BIOS which he couldn't find. Can Windows Toolkit access the IBS Feature or does WIndows Toolkit show something totally different than what the OP is asking?
As you can tell I am not familiar at all with IBS. So excuse me for giving incorrect information in my earlier post. It was not intentional and I was just going by the information I was able to gather on the subject. But it is good this occurred because now I know what IBS is and would know how to respond to it in the future.
Thanks for correcting my earlier post. You comment was quite useful to me and to the OP.
I apologize if my replies above seemed somewhat brusque. I appreciate your feedback and the posts you've made trying to help answer the OP's question. The only reason I'm trying to be very specific in my posts is that I suspect at some point in the future someone will find these posts while trying to fix one of their own problems, so I want to make sure to correct any small mistakes that may confuse this hypothetical future person.
To answer your question: yes, the OP could do a LiveCD/LiveDVD/LiveUSB Linux boot and test out the AMD IBS Toolkit that you linked above. I do this sometimes when I need to test backwards compatibility of the toolkit with older Linux kernel versions.
Unfortunately, I suspect that this would not meet the OP's needs. They are probably trying to analyze a particular application of interest within Windows, so having IBS enabled on a temporary Linux installation, while useful to see that IBS works, won't help them analyze their software.
You're right, if the OP's system or motherboard vendor does not make IBS Enable available as a BIOS option, there's unfortunately not a lot tat can be done. The AMD IBS Toolkit was built for my own personal needs inside AMD and was released publicly to help academics and other researchers. It's not an officially supported product, so we will not be porting it to run on Windows in the foreseeable future. AMD's official mechanism for accessing IBS is through tools like uProf, but on "Zen"-based processors, these official tools require the BIOS to enable IBS.
No problem. I understand now that you are just try to prevent inaccurate information from being spread. Thanks for you answers.
I edited my previous comment and deleted that information about linux.