Re: [eigen] Help needed to run a benchmark on many machines |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] Help needed to run a benchmark on many machines*From*: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>*Date*: Wed, 18 Feb 2015 17:58:54 -0500*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pmbarLfCBB9IBTIIT38eFTXzmDOs/+sAhC0VwViwwt0=; b=bzJAmrWnR/NZh8Q8U8ly2wz67DQ6+Vt7yZC0OhIRk44gYDbGlT8/xzJOWRdQX1kzzJ E4QlK0LyzPWKAI+9CcmVSEJDAJw6NN5dFhC4UxM0pdYkMuh54w+lw6r5vbD2dqA8dv6l 4eeRE/If+W2LWw00usXWOYmBFnlt6qtnwhi2Kxf37xhXF6YqbWzVMy16qDO2+AiGEklE hTEtime0cmt/Bg7xZzHAbymErEFS8GQjRzD88aFbjqMtxo+3S/azBIgj51A28gOfXu6p rX7aeQ0Zjx29ilrZjPbuewtO5TVkC0A9wGVABS8DjsUfsj84PdtollmbgQw1xYjzKxKi pCnA==

2015-02-18 16:46 GMT-05:00 Ilja Honkonen <ilja.j.honkonen@xxxxxxxxx>:

double starttime = time();....

for (int i = 0; i < iters_at_a_time; i++) {

c = a * b;

}

double endtime = time();

(4M) on a typical ARM CPU (1M cache). But indeed, my benchmark also aims

to measure much smaller cases, so that's a problem. Any suggestions

welcome on how to address this!

Maybe fill vector<T> a, b, c; with more data than e.g. 16 MB and use c[i] = a[i] * b[i] in the loop? If that doesn't show a large difference then perhaps it's not something to worry about at this stage.

That's interesting, thanks. With this, i can change from simulating a situation where we were using the same matrix over and over again, to a situation where we're never using twice the same matrix. But I don't know what would be the most realistic thing to simulate. Not knowing that, and seeing that already with just one set of a,b,c matrices I'm seeing very significant timing differences with different blocking parameters, it is tempting to stick to that.

Benoit

Benoit

Ilja

**References**:**[eigen] Help needed to run a benchmark on many machines***From:*Benoit Jacob

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Hauke Heibel

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Benoit Jacob

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Hauke Heibel

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Ilja Honkonen

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Benoit Jacob

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Benoit Jacob

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Ilja Honkonen

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Benoit Jacob

**Re: [eigen] Help needed to run a benchmark on many machines***From:*Ilja Honkonen

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Help needed to run a benchmark on many machines** - Next by Date:
**Re: [eigen] Help needed to run a benchmark on many machines** - Previous by thread:
**Re: [eigen] Help needed to run a benchmark on many machines** - Next by thread:
**Re: [eigen] Help needed to run a benchmark on many machines**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |