GithubHelp home page GithubHelp logo

qed's People

Watchers

 avatar

qed's Issues

volatile anonymous union or struct

I thought

{{{
volatile union {
  struct {
    int i1;
    int i2;
  };
  long l;
};
}}}

will render i1, i2, and l volatile.

But according to the generated assembly code, this is not the case.

We have to use volatile as follows:

{{{
union {
  struct {
    volatile int i1;
    volatile int i2;
  };
  volatile long l;
};
}}}

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 9:11

Cache line alignment and false sharing

To avoid false sharing we align certain member variables at cache line 
boundaries.
For example, in SpQed,
{{{
  union {
    struct {
      volatile int headIndex;
      volatile int headIndexMod;
    };
    volatile long packedHeadIndex;
  } __attribute__((aligned (64)));
  volatile int reservedDequeueCounter;
}}}
The intention is that headIndex is aligned at cache line boundary and 
reservedDequeueCounter is located at the same cache line since they are 
modified together.
However, according to the generated assembly code, reservedDequeueCounter is 
located at the next cache line.
We need to find out the way to locate them to the same cache line, and, of 
course, need to measure the performance impact of doing so.

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 9:07

Do we really need "local" states?

As an optimization, we use localized states hoping that localized states can be 
allocated to the memory: e.g., localTailIndex in spQed.
However, especially in x86 with few register files, this kind of optimization 
does not make sense.
We really need to quantify this optimization helps the performance.

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 9:01

ferret is slow with qed

What steps will reproduce the problem?
1. run ferret with qed_static and qed
2. compare the performance

What is the expected output? What do you see instead?

They should have a similar execution time but qed is 4% slower.
We need to look at the decision procedure to adjust the capacity.

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 8:59

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.