CN101944101B - Dynamic quantitative indication method and device for prefetching document - Google Patents

Dynamic quantitative indication method and device for prefetching document Download PDF

Info

Publication number
CN101944101B
CN101944101B CN2010102260537A CN201010226053A CN101944101B CN 101944101 B CN101944101 B CN 101944101B CN 2010102260537 A CN2010102260537 A CN 2010102260537A CN 201010226053 A CN201010226053 A CN 201010226053A CN 101944101 B CN101944101 B CN 101944101B
Authority
CN
China
Prior art keywords
candidate
outcome
predicts
current
last
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2010102260537A
Other languages
Chinese (zh)
Other versions
CN101944101A (en
Inventor
程旭
何俊
徐安华
管雪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongzhi Core Technology Co Ltd
Peking University
Original Assignee
JINAN DPSTOR CO Ltd
BEIDA ZHONGZHI MICROSYSTEM SCIENCE AND TECHNOLOGY Co Ltd BEIJING
Peking University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JINAN DPSTOR CO Ltd, BEIDA ZHONGZHI MICROSYSTEM SCIENCE AND TECHNOLOGY Co Ltd BEIJING, Peking University filed Critical JINAN DPSTOR CO Ltd
Priority to CN2010102260537A priority Critical patent/CN101944101B/en
Publication of CN101944101A publication Critical patent/CN101944101A/en
Application granted granted Critical
Publication of CN101944101B publication Critical patent/CN101944101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a dynamic quantitative indication method and a device for prefetching a document. The method comprises the following steps: whether the current candidate predetermined result is the same as the previous candidate predetermined result or not is judged, if so, the accumulation operation or the degressive operation is implemented on the current count value, and if not, the current count value is set to a preset value. The method not only can indicate the state of the current document prefetch behavior, but also can indicate the recent continuous historical representation of the current document prefetch behavior, is simple and visual, has simple operation, and can effectively save the storage space.

Description

A kind of file look ahead dynamic quantitative indicating means and device
Technical field
The present invention relates to file system, relate in particular to that data access in the file system is looked ahead and other prefetched line are the dynamic modeling analyzed and the method and the device of quantitatively indication.
Background technology
Along with data processing and file access speed require increasingly highly, the immediate access data can not satisfy most data access requirement.Increasing file and data pre-fetching are applied to various systems.On the one hand, the size of data is increasing, and the terminal storage is reality hardly.Increasing request derives from network.Network delay has brought the system handles data efficiency low.On the other hand, though the visit of local hard drive and network and transmission speed all in quick growth, require still to exist the bigger and bigger phenomenon of gap with respect to high speed access such as processor, internal memories.Therefore storage architecture and high-speed cache (cache), the technology of multiple raising data access speed such as file high-speed cache have appearred.
Multiple technologies such as look ahead buffer memory appearred and in file access acceleration aspect especially, relative cache, and looking ahead is a kind of acceleration file access method of velocity more initiatively.
Last Successor is the simplest a kind of heuritic approach.If last time, the follow-up access file of file A was B, so next file B will be looked ahead in file A visit back.Last Successor algorithm has multiple advantages such as simple, intuitive, but reveals extremely low performance for some file access pattern list, and for example a file access sequence is ABACABACABAC.If use Last Successor algorithm, the prediction for the follow-up file of A all is wrong so at every turn.In other words Last Successor can't handle the file access pattern of this " jolting " well.
Static Successor then is a kind of algorithm of " senior " comparatively speaking, has only as a prediction P AB(P ABThe follow-up access file of expression file A is predicted as B) after correct continuously number of times surpasses a threshold value H, just can use this prediction to carry out data pre-fetching, file B immediately promptly looks ahead behind the access file A.This algorithm has been avoided " jolting " of file access pattern effectively.
Recent Popularity has then further proposed in n prediction, correctly just can be implemented veritably to look ahead for p time at least when a follow-up prediction of file.Have only in other words but predict when accuracy reaches p/n that follow-up access file just can be looked ahead.Owing to used ratio as threshold value, so this algorithm has had dynamic and controllability to a certain extent.
Though the file prefetching algorithm is being updated, how to file the behavior of looking ahead to indicate be a difficult point always.
Summary of the invention
The technical matters that the present invention will solve is; A kind of file look ahead dynamic quantitative indicating means and device are proposed; Not only can indicate the current file state of behavior of looking ahead, and can indicate the file recently continuous history performance of behavior of looking ahead, simple, intuitive; Computing is simple, and conserve storage effectively.
In order to solve the problems of the technologies described above, the present invention proposes a kind of file dynamic quantitative indicating means of looking ahead, and comprising:
Judging whether current candidate predicts the outcome predicts the outcome identically with last candidate, if identical, then current count value carried out accumulating operation or tired and subtracts computing; If inequality, then current count value is changed to preset value.
Further, said method also can have following characteristics:
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error;
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, to current count value execution accumulating operation with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, current count value is carried out to tire out subtracting computing with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
Further, said method also can have following characteristics:
Said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error;
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when inequality, then current count value is being changed to said candidate and predicts correct initial value with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when inequality, then current count value is changed to the initial value of said candidate's prediction error with last candidate.
Further, said method also can have following characteristics:
Predict the outcome and predict the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, it is 0 or one positive number that the initial value that this candidate predicts the outcome is set;
Predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set;
The initial value that different candidates predict the outcome is different.
Further, said method also can have following characteristics:
The incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
In order to solve the problems of the technologies described above, the present invention also proposes a kind of file dynamic quantitative indicating device of looking ahead, and comprises a judge module and a counting module, wherein:
Said judge module predicts the outcome identically in order to judge that whether current candidate predicts the outcome with last candidate, and judged result is sent to said counting module;
Said counting module in order to predicting the outcome when identical with last candidate knowing that current candidate predicts the outcome, is carried out accumulating operation or tired to current count value and is subtracted computing; And, current count value is changed to preset value knowing that current candidate predicts the outcome and last candidate predicts the outcome when inequality.
Further, said apparatus also can have following characteristics:
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error;
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out accumulating operation; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out the tired computing that subtracts; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
Further, said apparatus also can have following characteristics:
Said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error;
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when inequality with last candidate, current count value is changed to said candidate predicts correct initial value; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when inequality, current count value is changed to the initial value of said candidate's prediction error with last candidate.
Further, said apparatus also can have following characteristics:
Said counting module predicts the outcome and predicts the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, and it is 0 or one positive number that the initial value that this candidate predicts the outcome is set; And predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set; The initial value that different candidates predict the outcome is different.
Further, said apparatus also can have following characteristics:
The incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
A kind of file that the present invention proposes look ahead dynamic quantitative indicating means and device; Not only can indicate the current file state of behavior of looking ahead, and can indicate the file recently continuous history performance of behavior of looking ahead, simple, intuitive; Computing is simple, and conserve storage effectively.
Description of drawings
Fig. 1 is a kind of file of embodiment of the invention dynamic quantitative indicating means process flow diagram of looking ahead;
Fig. 2 is the look ahead specific algorithm framework synoptic diagram of dynamic quantitative indicating means of a kind of file of the embodiment of the invention;
Fig. 3 is a kind of file of embodiment of the invention dynamic quantitative indicating device block scheme of looking ahead.
Embodiment
At first, the concept that relates in the embodiment of the invention is made an explanation:
The candidate predicts (Candidate Prediction): the prediction about the follow-up access file of a file that is meant that certain file prediction algorithm provides.Said certain file prediction algorithm can be the prediction algorithm of choosing as required, specifically can be Last Successor algorithm, Static Successor algorithm, RecentPopularity algorithm or the like.
Confidence level counting (Reliable Count): be meant certain candidate is predicted P AB(the follow-up access file of for example predicting the A file is B) correct or wrong number of times is counted.Certain candidate predicts P ABBe meant that correctly the candidate predicts P ABConform to the actual access sequence of file, promptly the follow-up access file of A is B really.Otherwise, if the candidate predicts P ABDo not conform to the actual access sequence of file, promptly the follow-up access file of A is not B, then thinks P ABPrediction error.
Degree of confidence: certain the instantaneous value that is the confidence level counting.In embodiments of the present invention, degree of confidence has reflected that the candidate predicts P ABCurrent estimated performance comprises P ABCurrent predicting the outcome and the continuous historical performance in a period of time recently.
To combine accompanying drawing to specify embodiment of the present invention below.
Referring to Fig. 1, the figure shows a kind of file of embodiment of the invention dynamic quantitative indicating means of looking ahead, comprise the steps:
Step S101: judge current candidate whether predict the outcome with last candidate predict the outcome identical, if identical, execution in step S102 then; If inequality, execution in step S103 then;
Step S102: current count value is carried out accumulating operation or tired subtract computing;
Step S103: current count value is changed to preset value.
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error.Specifically, can be:
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, to current count value execution accumulating operation with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, current count value is carried out to tire out subtracting computing with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
Preferably, said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error.Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when inequality, then current count value is being changed to said candidate and predicts correct initial value with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when inequality, then current count value is changed to the initial value of said candidate's prediction error with last candidate.
Preferably, can predict the outcome and predict the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, it is 0 or one positive number that the initial value that this candidate predicts the outcome is set; And predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set.Wherein, the initial value that predicts the outcome of different candidates is different.
Preferably, the incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
Adopt the above-mentioned file of the present invention dynamic quantitative indicating means of looking ahead; When carrying out the confidence level counting, be not to carry out according to the file prediction result simply to add up or tiredly subtract computing, but predict the outcome when identical with last predicting the outcome through ingenious design; Execution adds up or tires out and subtracts computing; When inequality, directly saltus step is a preset value, thereby directly both can indicate current file prediction result through degree of confidence; Can indicate the file prediction result in recently continuous history performance again, but also reach the effect of conserve storage.
Referring to Fig. 2, the figure shows the look ahead a kind of concrete implementation algorithm of dynamic quantitative indicating means of file of the present invention.Predict P for a candidate AB, adopt these computing method to indicate P with degree of confidence ABCurrent working condition and recently continuous history performance: the confidence level counting of new candidate's prediction is changed to 0 expression original state, correct P continuously ABTo cause reliable_count to increase progressively, wrong continuously P ABTo cause reliable_count to successively decrease.Increase progressively or successively decrease and all represent a kind of constant trend, therefore promptly correct continuously or mistake continuously, can indicate current candidate to predict the outcome and recent history performance through degree of confidence.For example, degree of confidence equals 5, then indicates current candidate to predict correctly, and continuous 5 predictions all are correct, need not take too much storage space and indicate nearest 5 prediction result respectively.In the method, if continuous correct P ABOnce mistake occurred, its reliable_count is changed to-1 rapidly so, expression P ABWrong continuously number of times is 1; If wrong continuously P ABOccurred once correctly, its reliable_count is changed to 1 so, expression P ABCorrect number of times is 1 continuously.
Quantitative evaluation is carried out in each prediction that the present invention can provide the file prefetching algorithm (LS (Last Successor), SS (StaticSuccessor), RP (Recent Popularity) etc.) of current main-stream.Degree of confidence is to the look ahead basis of behavior modeling of file, has important directive significance for look ahead modeling and improvement in performance of file.In addition, the present invention not only can implement to the prediction algorithm of file granularity, and the present invention can also have important directive significance for the modeling of other behaviors of looking ahead (other field beyond the file prefetching algorithm of other granularities or the field of filesystems).
In order to realize said method, the present invention also provides a kind of file dynamic quantitative indicating device of looking ahead, and is as shown in Figure 3, comprises a judge module and a counting module, wherein:
Said judge module predicts the outcome identically in order to judge that whether current candidate predicts the outcome with last candidate, and judged result is sent to said counting module;
Said counting module in order to predicting the outcome when identical with last candidate knowing that current candidate predicts the outcome, is carried out accumulating operation or tired to current count value and is subtracted computing; And, current count value is changed to preset value knowing that current candidate predicts the outcome and last candidate predicts the outcome when inequality.
Further:
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error.
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out accumulating operation; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out the tired computing that subtracts; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
Further, said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error.Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when inequality with last candidate, current count value is changed to said candidate predicts correct initial value; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when inequality, current count value is changed to the initial value of said candidate's prediction error with last candidate.
Further, said counting module predicts the outcome and predicts the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, and it is 0 or one positive number that the initial value that this candidate predicts the outcome is set; And predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set; The initial value that different candidates predict the outcome is different.
Further, the incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
The present invention gives following concrete application example and further specifies said method of the present invention:
Application example 1
The confidence level counting is set to 0 expression original state.The candidate predicts that correct initial value is 1, and the initial value of candidate's prediction error is-1.Continue to judge that correctly and whether whether current candidate's prediction predict the outcome identically with last candidate, carries out according to judged result: current candidate predicts correctly in judgement, and predicts the outcome when identical with last candidate, confidence level is counted add 1; Judging current candidate's prediction error, and predicting the outcome when identical, the confidence level counting is being subtracted 1 with last candidate.Judging that current candidate predicts correctly, and predicting the outcome not simultaneously, the confidence level counting is being changed to-1 with last candidate; Judging current candidate's prediction error, and predicting the outcome not simultaneously, the confidence level counting is being changed to 1 with last candidate.
For example, degree of confidence equals 5, then indicates current candidate to predict correctly, and continuous 5 predictions all are correct, need not take too much storage space and indicate nearest 5 prediction result respectively.Again for example, degree of confidence is-1, then indicates current candidate's prediction error, and the number of times of prediction error is 1 continuously.
Application example 2
The confidence level counting is set to 0 expression original state.The candidate predicts that correct initial value is-1, and the initial value of candidate's prediction error is 1.Continue to judge that correctly and whether whether current candidate's prediction predict the outcome identically with last candidate, carries out according to judged result: current candidate predicts correctly in judgement, and predicts the outcome when identical with last candidate, confidence level is counted subtract 1; Judging current candidate's prediction error, and predicting the outcome when identical, the confidence level counting is being added 1 with last candidate.Judging that current candidate predicts correctly, and predicting the outcome not simultaneously, the confidence level counting is being changed to 1 with last candidate; Judging current candidate's prediction error, and predicting the outcome not simultaneously, the confidence level counting is being changed to-1 with last candidate.
For example, degree of confidence equals 5, then indicates current candidate's prediction error, and continuous 5 predictions all are wrong, need not take too much storage space and indicate nearest 5 prediction result respectively.Again for example, degree of confidence is-1, then indicates current candidate to predict correctly, predicts that continuously correct number of times is 1.
Application example 3
The confidence level counting is set to 0 expression original state.The candidate predicts that correct and wrong initial value is 0.Continue to judge that correctly and whether whether current candidate's prediction predict the outcome identically with last candidate, carries out according to judged result: current candidate predicts correctly in judgement, and predicts the outcome when identical with last candidate, confidence level is counted add 1; Judging current candidate's prediction error, and predicting the outcome when identical, the confidence level counting is being subtracted 1 with last candidate.Judging that current candidate predicts correctly, and predicting the outcome not simultaneously, the confidence level counting is being changed to 0 with last candidate; Judging current candidate's prediction error, and predicting the outcome not simultaneously, the confidence level counting is being changed to 0 with last candidate.
For example, degree of confidence equals 5, then indicates current candidate to predict correctly, and continuous 6 predictions all are correct, need not take too much storage space and indicate nearest 6 prediction result respectively.Again for example, degree of confidence is 0, then indicates current candidate to predict the outcome and last candidate predicts the outcome inequality.
Application example 4
The confidence level counting is set to 0 expression original state.The candidate predicts that correct initial value is 2, and the initial value of candidate's prediction error is-2.Continue to judge that correctly and whether whether current candidate's prediction predict the outcome identically with last candidate, carries out according to judged result: current candidate predicts correctly in judgement, and predicts the outcome when identical with last candidate, confidence level is counted add 2; Judging current candidate's prediction error, and predicting the outcome when identical, the confidence level counting is being subtracted 2 with last candidate.Judging that current candidate predicts correctly, and predicting the outcome not simultaneously, the confidence level counting is being changed to-2 with last candidate; Judging current candidate's prediction error, and predicting the outcome not simultaneously, the confidence level counting is being changed to 2 with last candidate.
For example, degree of confidence equals 6, then indicates current candidate to predict correctly, and continuous 3 predictions all are correct, need not take too much storage space and indicate nearest 3 prediction result respectively.Again for example, degree of confidence is-2, then indicates current candidate's prediction error, and the number of times of prediction error is 1 continuously.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (8)

1. file dynamic quantitative indicating means of looking ahead comprises:
Judging whether current candidate predicts the outcome predicts the outcome identically with last candidate, if identical, then current count value carried out accumulating operation or tired and subtracts computing; If inequality, then current count value is changed to preset value; Wherein:
Said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error;
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when inequality, then current count value is being changed to said candidate and predicts correct initial value with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when inequality, then current count value is changed to the initial value of said candidate's prediction error with last candidate.
2. the method for claim 1 is characterized in that:
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error;
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, to current count value execution accumulating operation with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when identical, current count value is carried out to tire out subtracting computing with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
3. the method for claim 1 is characterized in that:
Predict the outcome and predict the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, it is 0 or one positive number that the initial value that this candidate predicts the outcome is set;
Predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set;
The initial value that different candidates predict the outcome is different.
4. like any one described method among the claim 1-3, it is characterized in that:
The incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
5. file dynamic quantitative indicating device of looking ahead is characterized in that, comprises a judge module and a counting module, wherein:
Said judge module predicts the outcome identically in order to judge that whether current candidate predicts the outcome with last candidate, and judged result is sent to said counting module;
Said counting module in order to predicting the outcome when identical with last candidate knowing that current candidate predicts the outcome, is carried out accumulating operation or tired to current count value and is subtracted computing; And, current count value is changed to preset value knowing that current candidate predicts the outcome and last candidate predicts the outcome when inequality; Wherein:
Said preset value comprises that a candidate predicts the initial value of correct initial value and candidate's prediction error;
Judging that current candidate predicts the outcome to the candidate predicts correctly, and predicting the outcome when inequality, then current count value is being changed to said candidate and predicts correct initial value with last candidate; Be candidate's prediction error judging that current candidate predicts the outcome, and predict the outcome when inequality, then current count value is changed to the initial value of said candidate's prediction error with last candidate.
6. device as claimed in claim 5 is characterized in that:
Said candidate predicts the outcome and comprises that the candidate predicts correct and candidate's prediction error;
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out accumulating operation; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out the tired computing that subtracts with last candidate; Perhaps
Said counting module is knowing that current candidate predicts the outcome to the candidate predicts correctly, and predicts the outcome when identical with last candidate, and current count value is carried out the tired computing that subtracts; Be candidate's prediction error knowing that current candidate predicts the outcome, and predict the outcome when identical, current count value is carried out accumulating operation with last candidate.
7. device as claimed in claim 5 is characterized in that:
Said counting module predicts the outcome and predicts the outcome identically when then carrying out accumulating operation with last candidate in that current candidate is set, and it is 0 or one positive number that the initial value that this candidate predicts the outcome is set; And predict the outcome to predict the outcome with last candidate and identically then carry out tiredly when subtracting computing in that current candidate is set, it is 0 or one negative that the initial value that this candidate predicts the outcome is set; The initial value that different candidates predict the outcome is different.
8. like any one described device among the claim 5-7, it is characterized in that:
The incremental gradient of said accumulating operation is identical or different with the said tired gradient of successively decreasing that subtracts computing.
CN2010102260537A 2010-07-14 2010-07-14 Dynamic quantitative indication method and device for prefetching document Active CN101944101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102260537A CN101944101B (en) 2010-07-14 2010-07-14 Dynamic quantitative indication method and device for prefetching document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102260537A CN101944101B (en) 2010-07-14 2010-07-14 Dynamic quantitative indication method and device for prefetching document

Publications (2)

Publication Number Publication Date
CN101944101A CN101944101A (en) 2011-01-12
CN101944101B true CN101944101B (en) 2012-07-25

Family

ID=43436092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102260537A Active CN101944101B (en) 2010-07-14 2010-07-14 Dynamic quantitative indication method and device for prefetching document

Country Status (1)

Country Link
CN (1) CN101944101B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279663B (en) * 2018-01-24 2019-12-20 广汽丰田汽车有限公司 Control system and control method for vehicle error signal, and storage medium
CN110058923B (en) * 2019-03-29 2021-03-26 华中科技大学 Docker container COW mechanism optimization method and system based on dynamic prefetching strategy

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266578A (en) * 2008-02-22 2008-09-17 浙江大学 High speed cache data pre-fetching method based on increment type closed sequence dredging
CN101388824A (en) * 2008-10-15 2009-03-18 中国科学院计算技术研究所 File reading method and system under sliced memory mode in cluster system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0406860D0 (en) * 2004-03-26 2004-04-28 British Telecomm Computer apparatus
US8838620B2 (en) * 2006-02-03 2014-09-16 International Business Machines Corporation Predictive data object retrieval

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266578A (en) * 2008-02-22 2008-09-17 浙江大学 High speed cache data pre-fetching method based on increment type closed sequence dredging
CN101388824A (en) * 2008-10-15 2009-03-18 中国科学院计算技术研究所 File reading method and system under sliced memory mode in cluster system

Also Published As

Publication number Publication date
CN101944101A (en) 2011-01-12

Similar Documents

Publication Publication Date Title
CN101727313B (en) Technique to perform memory disambiguation
CN111406250B (en) Provisioning using prefetched data in a serverless computing environment
US6807607B1 (en) Cache memory management system and method
CN100501739C (en) Method and system using stream prefetching history to improve data prefetching performance
CN110609796B (en) Method, apparatus and computer program product for prefetching in a storage system
US10013326B2 (en) Propagating a prefetching profile bit from a prefetch queue to a data cache to indicate that a line was prefetched in response to an instruction within a code region
CN102207889B (en) Command control method and command controller
CN110058958B (en) Method, apparatus and computer program product for managing data backup
CN104040500A (en) Scheduling thread execution based on thread affinity
US20070150660A1 (en) Inserting prefetch instructions based on hardware monitoring
US20140258672A1 (en) Demand determination for data blocks
US20200387381A1 (en) Prefetch filter table
CN102591621B (en) Use computation histories to make predictions
CN101944101B (en) Dynamic quantitative indication method and device for prefetching document
CN112667170B (en) Spark data caching method for sliding window data analysis
CN105493024A (en) Data threshold prediction method and related apparatus
US20080276045A1 (en) Apparatus and Method for Dynamic Cache Management
CN110781499B (en) Preventing information leakage in out-of-order machines due to misspeculation
CN113886746A (en) Page loading method, device, equipment and medium
US11586440B2 (en) Link stack based instruction prefetch augmentation
CN112148550B (en) Method, apparatus and computer program product for managing services
CN114048150A (en) Memory recovery abnormity detection method, device, equipment and medium
CN116886494A (en) Data management system, method and device
CN114327774A (en) Code running method, device, equipment and storage medium
CN104239370A (en) Webpage data storage method and webpage data storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: JI NAN ZHONGZHI INFORMATION TECHNOLOGY CO., LTD. B

Effective date: 20111227

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20111227

Address after: 100080, Beijing Haidian District Zhongguancun 151 North Street, building 11, resources

Applicant after: Beida Zhongzhi Microsystem Science and Technology Co., Ltd., Beijing

Co-applicant after: Jinan Dpstor Co., Ltd.

Co-applicant after: Peking University

Address before: 100080, Beijing Haidian District Zhongguancun 151 North Street, building 11, resources

Applicant before: Beida Zhongzhi Microsystem Science and Technology Co., Ltd., Beijing

C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160422

Address after: 100080 Beijing City, Haidian District Zhongguancun No. 151 North Street Yanyuan resources building room 1107

Patentee after: Beijing Zhongzhi core technology Co. Ltd.

Patentee after: Peking University

Address before: 100080, Beijing Haidian District Zhongguancun 151 North Street, building 11, resources

Patentee before: Beida Zhongzhi Microsystem Science and Technology Co., Ltd., Beijing

Patentee before: Jinan Dpstor Co., Ltd.

Patentee before: Peking University