Topic
  • No replies
SystemAdmin
SystemAdmin
196 Posts

Pinned topic Exploiting z10 prefetch instructions in binaries that run everywhere

‏2011-05-23T17:06:27Z |
A short how-to on using the PFD instruction in binaries that will still run on pre-z10 hardware.

See my blog entry.
Updated on 2011-06-03T01:24:53Z at 2011-06-03T01:24:53Z by SystemAdmin
  • DaveyC
    DaveyC
    55 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-05-24T11:24:22Z  
    The links broken Chris!

    David Crayford
  • kelly.arrey
    kelly.arrey
    7 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-05-24T12:21:59Z  
    • DaveyC
    • ‏2011-05-24T11:24:22Z
    The links broken Chris!

    David Crayford
    Hi David,

    The link works for me.

    Kelly Arrey
  • SystemAdmin
    SystemAdmin
    196 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-05-24T16:24:13Z  
    • DaveyC
    • ‏2011-05-24T11:24:22Z
    The links broken Chris!

    David Crayford
    I think there was some sort of maintenance being done on some of the web servers, which would have resulted in a broken link. Servers are back up again so the link is working again.
  • DaveyC
    DaveyC
    55 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-06-01T02:15:08Z  
    Chris,

    Thanks for the great info. Maybe you can create a follow-up blog and show us how we can exploit the PFD instruction with a real world use
    case. PFD seems to be a way of prefectching cache lines to mitigate cache misses. That's great stuff but how could I use it, for example,
    for a data structure like a queue?

    David Crayford
  • SystemAdmin
    SystemAdmin
    196 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-06-01T06:02:06Z  
    • DaveyC
    • ‏2011-06-01T02:15:08Z
    Chris,

    Thanks for the great info. Maybe you can create a follow-up blog and show us how we can exploit the PFD instruction with a real world use
    case. PFD seems to be a way of prefectching cache lines to mitigate cache misses. That's great stuff but how could I use it, for example,
    for a data structure like a queue?

    David Crayford
    David,
    great idea, and I'm happy you find the topic interesting. Yes, I had some thoughts about how to do this and I'll see what I can whip up. We have some real-world instances of where the prefetch instruction makes a tremendous difference. I wasn't sure how to distill them into a small stand-alone example, but maybe it would suffice to describe the program and show how it's used in that context.
  • SystemAdmin
    SystemAdmin
    196 Posts

    Re: Exploiting z10 prefetch instructions in binaries that run everywhere

    ‏2011-06-03T01:24:53Z  
    David,
    great idea, and I'm happy you find the topic interesting. Yes, I had some thoughts about how to do this and I'll see what I can whip up. We have some real-world instances of where the prefetch instruction makes a tremendous difference. I wasn't sure how to distill them into a small stand-alone example, but maybe it would suffice to describe the program and show how it's used in that context.
    I've posted an initial entry.