oprofile at its maximum sampling rate causes a lot of interference.
There is no good automatic way of finding out a non-interfering level as
it basically depends on the workload. Still, we can reduce the impact
somewhat with this patch.

Signed-off-by: Mel Gorman <m...@csn.ul.ie>
---
 TLBC/OpCollect.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TLBC/OpCollect.pm b/TLBC/OpCollect.pm
index c0944bb..6ec477f 100644
--- a/TLBC/OpCollect.pm
+++ b/TLBC/OpCollect.pm
@@ -55,7 +55,7 @@ sub _setup_oprofile()
        my $self = shift;
        my $vmlinux = shift;
        my $refEvents = shift;
-       my $cmd = "$Bin/oprofile_start.sh --vmlinux=$vmlinux ";
+       my $cmd = "$Bin/oprofile_start.sh --sample-cycle-factor 6 
--sample-event-factor 2 --vmlinux=$vmlinux ";
        foreach my $event (@{$refEvents}) {
                $cmd .= " --event=$event";
                $self->_get_event($event);
-- 
1.7.1


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to