Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-27 Thread Devrin Talen
Emanuel Berg embe8...@student.uu.se writes: Devrin Talen dc...@cornell.edu writes: To block on accesses to a file until it actually has data for you try reading up on the `select` call: % man 2 select That would be great because that is exactly what I need. However I didn't get it

Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-23 Thread Emanuel Berg
Devrin Talen dc...@cornell.edu writes: To block on accesses to a file until it actually has data for you try reading up on the `select` call: % man 2 select That would be great because that is exactly what I need. However I didn't get it to work. I always get No data. for the below

Re: setup the PMU to generate an interrupt on x number of LLC misses

2014-10-22 Thread Devrin Talen
Emanuel Berg embe8...@student.uu.se writes: I have written a program [1] in C++ that uses polling, but I was told that wasn't good enough so now I search for a preemptive or interrupt-based solution. To block on accesses to a file until it actually has data for you try reading up on the

setup the PMU to generate an interrupt on x number of LLC misses

2014-10-21 Thread Emanuel Berg
I have heard this is possible but not seen any examples. It doesn't matter if I have to change the kernel to get it. I have written a program [1] in C++ that uses polling, but I was told that wasn't good enough so now I search for a preemptive or interrupt-based solution. Any help very much

setup the PMU to generate an interrupt on x number of LLC misses

2014-10-21 Thread Emanuel Berg
I have heard this is possible but not seen any examples. It doesn't matter if I have to change the kernel to get it. I have written a program [1] in C++ that uses polling, but I was told that wasn't good enough so now I search for a preemptive or interrupt-based solution. Any help very much