MCBLOCK copies only a small area of the array
Bug #1256278 reported by
Steffen Kieß
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mbw (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
mbw -t2 copies only one block of the array several times insted of copying the entire array. This means that (for small block sizes) the cache bandwidth is measured instead of the memory bandwidth.
From the source code:
}
This should be something like:
c=mempcpy((char*)b + t,(char*)a + t,block_size);
To post a comment you must log in.