Questions tagged [prefetch]

A technique to minimize time spent waiting for some needed data to arrive, effectively hiding the latency of the fetch or part of it. Examples include instruction and data prefetching in microprocessors, and link prefetching in html browsers.

Prefetching is a technique to minimize time spent waiting for some needed data to arrive, either externally by the user or internally by the system. If the target of the request (whether a memory address, or a web link) can be predicted well enough in advance, a prefetch dispatched early will have time to fetch the data before the actual demand, thereby hiding the latency of the demand itself when it arrives. As the prefetch may arrive even earlier than needed, prefetching is often associated with caching mechanisms. Examples include instruction and data prefetching in microprocessors (both software based and hardware prefeching), link prefetching in html browsers, and database prefetching mechanisms.

522 questions
0
votes
1 answer

Portable explicit prefetch

I am in need of a simple and portable way to explicitly prefetch data. I do not want to use the specific feature of any specific compiler or platform, just something generic enough to work across different platforms and compilers. One very naive…
dtech
  • 47,916
  • 17
  • 112
  • 190
0
votes
0 answers

Using data-prefetch in jQuery mobile 1.4.0

In my jQuery mobile app , I have used data-prefetch in order to prefetch Page1 , to increase the performance since each page take time to open and be shown to the user after clicking the link , the problem is that when I click on Page1 link once…
user
  • 621
  • 15
  • 46
0
votes
0 answers

Reading from named pipe freezes when piping tshark output

I'm trying to implement a web prefetching system. The purpose of a system like this is to “predict” future requests and prefetch them. The system builds a predictive model from web navigation logs (Squid access.log files). The model is a…
Tucano
  • 3
  • 3
0
votes
2 answers

Filter queryset by date on prefetch_related

I need to filter a queryset by comparing dates on related objects, but the filter its ignored. My resumed model is: class Requerimiento(models.Model): nombre = models.CharField(max_length=30) fecha_publicacion =…
Nextoor
  • 1
  • 4
0
votes
1 answer

How to join 4 or 5 tables in Django

Say I have a few models in Django: class LevelZ(models.Model): title = models.CharField(_('yahoo z name'), max_length=255) is_display = models.BooleanField(_('Is displayed'), default=True) enable = models.BooleanField(_('is enable'),…
RD Andy
  • 5
  • 2
0
votes
1 answer

HTML5 Prefetch Fails after first link

I am getting a weird issue whilst playing around with HTML5's prefetch. I have a list of about 10 pages, that I am adding.
Kevin
  • 2,684
  • 6
  • 35
  • 64
0
votes
1 answer

HTML5 prerender/prefetch not working (I get a progressive curtain-like downloading/transition !)

I'm working on a web project and I want to load my webpages with an even transition. What I get right now is my photos and background downloading in a curtain-like manner. I want it to show up when it is all loaded instantly. I don't mind if there…
Sam One
  • 19
  • 3
0
votes
1 answer

Link prefetching redownload page in Firefox

I'm trying to speed up a Moodle instance (an LMS). I know for certain that users will likely go on their last accessed course, so I'm trying to use link prefetching to download the course page in advance:
franzlorenzon
  • 5,845
  • 6
  • 36
  • 58
0
votes
0 answers

Can Prefetch Row Count for Oracle OCCI be set externally (e.g. configuration, connection string)?

We have a simple OCCI (C++) Oracle client program that works too slowly with a remote DB. We discovered that increasing the prefetch RowCount parameter has a dramatic impact on this. Preferably we would like not to provide a patch to the customer…
davka
  • 13,974
  • 11
  • 61
  • 86
0
votes
2 answers

ActiveMQ-cpp Broker URI with PrefetchPolicy has no effect

I am using activemq-cpp 3.7.0 with VS 2010 to build a client, the server is ActiveMQ 5.8. I have created a message consumer using code similar to the following, based on the CMS configurations mentioned here. ConnClass is a ExceptionListener and a…
devil
  • 1,829
  • 16
  • 23
0
votes
1 answer

Cache prefetching scenario - power architecture

I'm using the asm dcbt command to touch a range of memory I know will be required for performing certain computations onto. My profiler shows a pattern of cache misses because of the sporadic access to elements inside this range (4 touched, 5…
teodron
  • 1,410
  • 1
  • 20
  • 41
0
votes
1 answer

Prefetching images on dynamically generated pages

HTML5 Prefetching is a great tool and in the past it's provided a users with a much better user experience when navigate image galleries. Though, in this case I can't seem to get my images to preload properly. When I view the network tab in Chrome…
HjalmarCarlson
  • 868
  • 2
  • 17
  • 34
0
votes
1 answer

Prefetching Internal Pages with PHP and jQuery

I'm trying to build myself a prefetcher for a ModX Revo site I'm building. I'm now getting a Syntax Error on the