Re: [eigen] Performance gap between gcc and msvc ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Performance gap between gcc and msvc ?
- From: David Roundy <roundyd@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 18 Jun 2010 12:27:22 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=kne4KYhGI2ni0oygLsdQVgchvixczqOJBU67EGc84SQ=; b=B90liF4/ML/ueOKx90eT1IJyJPUAjyDsEvZIUCzFIMDcmK+gMkbWN2rmgahXsPCXS/ le+givHp2Fz1/yj2w0uOsbuAb599fWNrhZXvt4VbzUohbYtOpm0QUSSqjXkE2/b+9rVx izsbpwWgQObFuSNTxpyzwZ5toZzgwOnHAQQ9U=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=VIfK5eaxN6lXn4ChiaplUflLIJbJjTr8OATjISyoYFe5lzknqT8FuGceraJ5vvQHi+ mp8DsiqA/7bBhA6vvpZRmYu6ucQKKttwTaZHR4/ThN9HLCZmR180MoKIX8UjDDjsuFEl M3PrpJKjZ4jmx7p9+MLzZ0LdBw+6OH7hqBCcU=
On Fri, Jun 18, 2010 at 12:09 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> This smells like code tuned for larger CPU caches than your Core i5 has. Indeed:
> - you are using very large matrices, so it's crucial that blocks fit
> in the cpu caches.
> - Core i5 are mass market cpus with presumably not too big caches.
>
> Try finding out the size of your caces (e.g. cat /proc/cpuinfo on
> linux) and playing with Eigen's cache size settings (see recent thread
> here).
Is this something that could be done automatically at runtime?
David