jspark1105 / qed Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/qed
Automatically exported from code.google.com/p/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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.