|
I would like to programatically disable hardware prefetching.
From Optimizing Application Performance on Intel® Core™ Microarchitecture Using Hardware-Implemented Prefetchers and How to Choose between Hardware and Software Prefetch on 32-Bit Intel® Architecture...
Started by Carlos on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For a single cpu, it demonstrates disabling prefetch for the Xeon in arch/i386/kernel/cpu/intel.c.
|
|
Has anyone had experience using prefetch instructions for the Core 2 Duo processor?
I've been using the (standard?) prefetch set ( prefetchnta , prefetcht1 , etc) with success for a series of P4 machines, but when running the code on a Core 2 Duo it seems...
Started by darren on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Therefore, if you use prefetch cache line size.
From memory to L2; more recent implementations provide additional features to prefetch data from L2 to L1 for use with prefetch instructions) may vary between different processors.
|
|
So I'm getting a "prefetch abort" exception on our arm9 system. This system does not have an MMU, so is there anyway this could be a software problem? All the registers seem correct to me, and the code looks right (not corrupted) from the JTAG point of...
Started by Jeff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It simply means (list of ARM exceptions) What....
Creek for a while because I didn't realize an ARM "prefetch abort" meant the instruction prefetch, not data prefetch, and I'd just been playing with data prefetch instructions.
|
Ask your Facebook Friends
|
Newer ARM processors include the PLD and PLI instructions.
I'm writing tight inner loops (in C++) which have a non-sequential memory access pattern, but a pattern that naturally my code fully understands. I would anticipate a substantial speedup if I ...
Started by Will on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Even better....
You should be able to use inline assembly depending on the data structures involved in your loop .
If you are trying to extract truly maximum performance from these loops, than I would recommend writing the entire looping construct in assembler .
|
|
I have Large.html, which is a web page that has a lot of images and javascript on it which takes a long time to load.
From other pages (a.html, b.html) how can I use JavaScript to prefetch Large.html (and all of the elements on the page) so that I can...
Started by mp_ on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It may still need to go out and ....
You could just load the body of the page, put it into the innerHTML of a div that has 'display: none', and wait for a bit, then make the current div have a display of none and the div with the new page becomes visible .
|
|
I have a distributed Java application running on 5 application servers. The servers all use the same Oracle 9i database running on a 6th machine.
The application need to prefetch a batch of 100 IDs from a sequence. It's relatively easy to do in a single...
Started by Zizzencs on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
SQL> select so_test.nextval - 99 ....
Why not just have the sequence as increment by 100 all the time? each "nextval" gives you 100 sequence numbers to work with
SQL> create sequence so_test start with 100 increment by 100 nocache; Sequence created .
|
|
Any programmatic techniques, portable or specific to NT and Linux that get the result of number of large files loading faster? I am after a 'ahead of time', a priori, whatever you prefer to call it mechanisms that I can control in code for two OS-es in...
Started by rama-jka toti on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Alternately, a more portable option would be to simply manually do readahead... .
I don't know about NT, but one option on Linux would be to use madvise with the MADV_WILLNEED flag shortly before you actually need the next file to start reading it in early .
|
|
"Prefetcher" & Superfetch I believe Prefetch was created for Win XP and Superfetch was an improvement for Vista.
In my Win 7 registry I have Prefetcher and Superfetch. Notice the different spellings for each? One is followed by er but not the other.
Is...
Started by Rus on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at thessdreview):
Have a look here for more details:
SuperFetch Enhanced....
Superfetch was introduced in Vista and is a more enhanced, more "intelligent" version of Prefetch.
Welcome to the forum Rus!
Prefetch and Prefetcher both refer to the same thing.
|
|
"Prefetcher" & Superfetch I believe Prefetch was created for Win XP and Superfetch was an improvement for Vista.
In my Win 7 registry I have Prefetcher and Superfetch. Notice the different spellings for each? One is followed by er but not the other.
Is...
Started by Rus on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at thessdreview):
|
|
I believe Prefetch was created for Win XP and Superfetch was an improvement for Vista.
In my Win 7 registry I have Prefetcher and Superfetch. Notice the different spellings for each? One is followed by er but not the other.
Is Prefetcher the same or different...
Started by Rus2 on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at anandtech):
|