CN101788847A - Method for adjusting performance of system memory and computer system - Google Patents

Method for adjusting performance of system memory and computer system Download PDF

Info

Publication number
CN101788847A
CN101788847A CN 201010121797 CN201010121797A CN101788847A CN 101788847 A CN101788847 A CN 101788847A CN 201010121797 CN201010121797 CN 201010121797 CN 201010121797 A CN201010121797 A CN 201010121797A CN 101788847 A CN101788847 A CN 101788847A
Authority
CN
China
Prior art keywords
memory
computer system
system memory
data
performance
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.)
Granted
Application number
CN 201010121797
Other languages
Chinese (zh)
Other versions
CN101788847B (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.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CN2010101217972A priority Critical patent/CN101788847B/en
Publication of CN101788847A publication Critical patent/CN101788847A/en
Application granted granted Critical
Publication of CN101788847B publication Critical patent/CN101788847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a method for adjusting the performance of a system memory and a computer system. The method for adjusting the performance of the system memory is applied to the computer system with the system memory, and comprises the following steps of: in the computer system operating an operating system, when an event is triggered, prohibiting the access action of the computer system to data in the system memory; after the action of prohibiting the access of the computer system to the data in the system memory is finished, giving a memory control instruction to perform a performance adjusting program of the system memory; and after the performance adjusting program is completed, restoring the access action of the data in the system memory. The method and the computer system overcome the defects that the conventional frequency conversion method has low efficiency and users need to wait meaninglessly.

Description

Method for adjusting performance of system memory and computer system
Technical field
The present invention relates to computer technology, relate in particular to a kind of method for adjusting performance of system memory and computer system.
Background technology
Along with personal computer is popularized gradually, relevant software application also increases substantially, and for the consideration of usefulness, many users hanker after changing frequency, allows performance obtain to promote or power saving more whereby on existing hardware unit.The frequency of operation that so-called change frequency refers to the CPU (central processing unit) of computing machine (CentralProcessing Unit abbreviates CPU as) changes, and allows it differ from steady operation under the state of rated frequency.But, only the frequency of operation of CPU (central processing unit) (Central Processing Unit abbreviates CPU as) is changed, and can't be effectively and stably make system's frequency conversion work, but related hardwares such as Installed System Memory also need be carried out parameter adjustment in the lump, just can reach real purpose.
The mode that early stage mainboard majority has adopted wire jumper (Jumper) or thumb-acting switch (DIP Switch) to set is carried out the frequency conversion of CPU (central processing unit) and Installed System Memory and is set, therefore the user must utilize jumper (jumper) to change wire jumper on the mainboard, in other words, in case when wanting that computer system carried out frequency conversion, must open computer housing and preparation tool can carry out, therefore suitable bothersome inconvenience.
For improving above-mentioned defective, just developed afterwards by Basic Input or Output System (BIOS) (Basic InputOutput System, be designated hereinafter simply as BIOS) operation-interface of setting frequency conversion is provided, and when adopting this practice, the user must select to enter the operation-interface of BIOS, the parameter setting of the line correlation of going forward side by side when start.When utilizing this mode to carry out frequency conversion, the use of parameter setting is quite numerous and diverse, and the user is when whenever once setting, and the action that must restart computing machine is with heavily loaded BIOS and operating system, and is therefore quite consuming time.
In sum, the existing frequency conversion practice is quite inefficent, and causes the meaningless wait of user, thus the present invention just with this as the target of improving, the phase can be developed and facility and the high frequency conversion mode of efficient.
Summary of the invention
Purpose of the present invention facility and the high frequency conversion mode of efficient for a kind of method for adjusting performance of system memory and computer system being provided, developing.
For achieving the above object, the invention provides a kind of method for adjusting performance of system memory, be applied to have on the computer system of an Installed System Memory, this method comprises the following step: in moving this computer system of an operating system, when an Event triggered, forbid the access action of computer system to data in the Installed System Memory; After forbidding that the access action of these data is finished during this computer system is to this Installed System Memory, assign an internal memory steering order and adjust program with a performance of carrying out Installed System Memory; And after finishing this performance adjustment program, reply access action to these data in this Installed System Memory.
According to above-mentioned conception, method for adjusting performance of system memory of the present invention, wherein this incident is a frequency conversion incident, this frequency conversion incident is imported frequency conversion instruction by the user by the operation-interface of an application program, or by button, the knob of hardware unit, touch sensing starts, the setting action that this frequency conversion incident is carried out operating frequency in order to a CPU (central processing unit) and a Memory Controller Hub to this computer system.
The present invention also provides a computer system, and it comprises: an Installed System Memory; One Nonvolatile memory; One operating system is stored in this Nonvolatile memory; An and control program, be stored in the Nonvolatile memory, according to an Event triggered, after control program forbids that computer system is finished the access action of data in the Installed System Memory, carry out a performance of this Installed System Memory and adjust program, and after finishing performance adjustment program, recover access action to these data in the Installed System Memory.
Beneficial effect of the present invention is that it is quite inefficent to have improved the existing frequency conversion practice, and causes the defective of the meaningless wait of user, is a kind of facility and the high frequency conversion mode of efficient.
Description of drawings
Fig. 1, it can use a computer system block diagram on it for the inventive method.
Fig. 2, it is for an embodiment schematic flow sheet of the method for adjusting performance of system memory that the present invention developed out.
Fig. 3, it is for another embodiment schematic flow sheet of the method for adjusting performance of system memory that the present invention developed out.
Wherein, description of reference numerals is as follows:
Computer system 1 CPU (central processing unit) 10
Chipset 11 Memory Controller Hub 110
Installed System Memory 12 application programs 19
Operating system 18 operation-interfaces 190
Control program 17 hard disks 13
Embodiment
For improving the defective trap of customary means, the invention provides a method for adjusting performance of system memory, can apply to computer system as shown in Figure 1, block diagram as Fig. 1, this computer system 1 has a CPU (central processing unit) 10, this CPU (central processing unit) 10 is by the Memory Controller Hub 110 in the control chip group 11, come Installed System Memory 12 is carried out data access with Memory Controller Hub 110, set for making things convenient for the user to carry out system's frequency conversion, the invention provides an application program 19, this application program 19 can be stored in the Nonvolatile memory of computer system 1 with operating system 18, the hard disk among the figure 13 for example, application program 19 works on this computer system 1 of operation system 18, and application program 19 is controlled startup with an operation-interface 190, and this operation-interface 190 can be to be shown in the graphical user interface on the display or to be arranged at entity button on the register face.When the user utilizes operation-interface 190 startup application programs 19 to import the frequency conversion instruction, application program 19 can be carried out the setting action of operating frequency to CPU (central processing unit) 10, and then finish the frequency conversion setting of CPU (central processing unit) 10.
But when the frequency conversion of CPU (central processing unit) 10 is set, when if Installed System Memory 12 also has other access actions simultaneously, can have influence on Installed System Memory 12 is carried out corresponding frequency conversion setting or data access correctness, can not set for the data that can guarantee in the Installed System Memory 12 storage and to produce mistake, the invention provides a control program 17 and carry out the flow process shown in as shown in Figure 2 the method for adjusting performance of system memory process flow diagram because of frequency conversion.This control program 17 for example can be stored in the hard disk 13, this computer system 1 of operation system 18 wherein, triggering according to said system frequency conversion incident, and start this control program 17 (step 21), it is main in order to stop the access action (step 22) of data in 1 pair of this Installed System Memory 12 of this computer system that this control program 17 starts the back, its task is mainly in order to prevent that CPU (central processing unit) 10 from utilizing that data have any access action in 110 pairs of these Installed System Memories 12 of Memory Controller Hub, forbids that also other peripheral hardware device (not shown) utilizes direct memory access device (not shown) to come that data in this Installed System Memory 12 are had any access action.Thus, can guarantee that the data of storing in the Installed System Memory 12 can not produce mistake because of carrying out the frequency conversion setting.Then this control program 17 just can be assigned internal memory according to the content of this frequency conversion incident and instructs and carry out a performance and adjust program (step 23), for example, this frequency conversion incident is that the operating frequency with CPU (central processing unit) 10 increases to 3.2GHz from 2.8GHz, this control program 17 just can be according to this frequency conversion incident, and assign the instruction of setting configuration registers, (parameter value is terminal resistance (On-Die Termination is called for short ODT) for example with the parameter value of corresponding 2.8GHz, ras time delay (Column Address Strobe latency is called for short Cas Latency), the outburst transmission cycle, replacement delay locked loop etc.) be rewritten into the parameter value of corresponding 3.2GHz.The internal memory instruction then includes sets configuration registers (Mode Register Set), enter automatic update mode (Self Refresh Entry), leave automatic update mode (Self Refresh Exit), enter energy-saving mode (Power Down Entry), leave energy-saving mode (Power Down Exit), impedance correction (ZQ Calibration Long), impedance correction (ZQ Calibration Short) fast, attonity (NOP) or the like, after finishing the related parameter values setting, close this control program 17 again and finish this performance adjustment program, and return to normal running system operation (step 24), can carry out access to data in this Installed System Memory 12.
The content that above-mentioned control program 17 is performed, can contain by the power management driver that operating system 18 is provided, for example by meeting ACPI standard (Advanced Configurationand Power Interface Specification, abbreviation ACPI Spec) driver makes system enter defined S1 or S3 pattern in the standard, just can finish the access action that stops that data are carried out in 1 pair of this Installed System Memory 12 of this computer system, the step that therefore triggering according to above-mentioned frequency conversion incident can be started this control program 17 changes entering S1 or the S3 pattern replaces, and then develops the another kind of method for adjusting performance of system memory embodiment that as shown in Figure 3.
At first, this computer system 1 of operation system 18 can be according to the triggering of above-mentioned frequency conversion incident, and start the ACPI driver and enter S1 (or S3) pattern (step 31), in order to stop the access action (step 32) of data in 1 pair of this Installed System Memory 12 of this computer system.Thus, can guarantee that the data of storing in the Installed System Memory 12 can not produce mistake because of carrying out the frequency conversion setting.Then, 17 need of control program are according to the content of this frequency conversion incident, assign the correlation parameter that internal memory instructs and then rewrites this Installed System Memory, carry out a performance and adjust program (step 33), for example, this frequency conversion incident is that the operating frequency with CPU (central processing unit) 10 increases to 3.2GHz from 2.8GHz, this control program 17 just can according to this frequency conversion incident assign steering order as set configuration registers, enter automatic update mode, enter energy-saving mode, impedance correction fast, impedance correction or the like, be rewritten into the parameter value of corresponding 3.2GHz from the parameter value of corresponding 2.8GHz.And then jump out S1 (or S3) pattern and finish this performance and adjust program and return to the normal running System Operation, for example S0 pattern (step 34) can be carried out normal access action to data in this Installed System Memory 12.The advantage of this embodiment includes needn't write control program 17 in addition, and can directly utilize the S1 pattern of ACPI driver, and it is also quite of short duration to enter and jump out S1 pattern required time, can't allow the user discover to some extent.
Certainly, above-mentioned frequency conversion incident is except can being started by the user, also can change according to system load own and start voluntarily, and the technology of the present invention means can save the too complicated frequency conversion program of customary means, effectively realize and development fundamental purpose of the present invention by this computer system 1.So the present invention has disclosed as above-mentioned preferred embodiment; right its is not in order to limit the present invention; those skilled in the art should recognize change and the retouching of being done under the situation that does not break away from the appended scope and spirit of the present invention that claim disclosed of the present invention, all belong within the protection domain of claim of the present invention.

Claims (18)

1. a method for adjusting performance of system memory is applied to have on the computer system of an Installed System Memory, and this method comprises the following step:
In moving this computer system of an operating system, when an Event triggered, forbid the access action of this computer system to data in this Installed System Memory;
After forbidding that the access action of these data is finished during this computer system is to this Installed System Memory, assign an internal memory steering order and adjust program with a performance of carrying out this Installed System Memory; And
After finishing this performance adjustment program, recover access action to these data in this Installed System Memory.
2. the system as claimed in claim 1 internal memory performance method of adjustment, it is characterized in that, this incident is a frequency conversion incident, and this frequency conversion incident is imported frequency conversion instruction by an operation-interface, to start an application program one CPU (central processing unit) of this computer system is carried out operating frequency setting action.
3. the system as claimed in claim 1 internal memory performance method of adjustment, it is characterized in that, this incident is a frequency conversion incident, this frequency conversion incident is changed according to system load own by this computer system and starts, and this frequency conversion incident is set action in order to a CPU (central processing unit) of this computer system is carried out operating frequency.
4. the system as claimed in claim 1 internal memory performance method of adjustment is characterized in that, forbids that this computer system carries out by being stored in this computer system a control program the access action of these data in this Installed System Memory.
5. method for adjusting performance of system memory as claimed in claim 4, it is characterized in that, this control program, utilize a Memory Controller Hub in order to a CPU (central processing unit) that prevents this computer system, to the access action of data in this Installed System Memory, this control program is also forbidden the access action of a peripheral hardware device to data in this Installed System Memory.
6. method for adjusting performance of system memory as claimed in claim 5 is characterized in that, this peripheral hardware device uses a direct internal storage access device to carry out to the access action of these data in this Installed System Memory.
7. method for adjusting performance of system memory as claimed in claim 4 is characterized in that, finish this performance adjustment program after, close this control program to recover access action to these data in this Installed System Memory.
8. the system as claimed in claim 1 internal memory performance method of adjustment is characterized in that, forbids the access action of this computer system to data in this Installed System Memory, is finished by the power management driver that this operating system provided.
9. method for adjusting performance of system memory as claimed in claim 8, it is characterized in that, this power management driver is a driver that meets the ACPI standard, and forbid this computer system to the access action of data in this Installed System Memory for entering defined S1 of this ACPI standard or S3 pattern.
10. method for adjusting performance of system memory as claimed in claim 9, it is characterized in that, after finishing this performance adjustment program, jump out defined S 1 of this ACPI standard or S3 pattern and get back to the S0 pattern, and then recover access action data in this Installed System Memory.
11. the system as claimed in claim 1 internal memory performance method of adjustment, it is characterized in that, assign this internal memory steering order comprise as set configuration registers, enter automatic update mode, leave automatic update mode, enter energy-saving mode, leave energy-saving mode, impedance correction fast, impedance correction, attonity.
12. a computer system, it comprises:
One Installed System Memory;
One Nonvolatile memory;
One operating system is stored in this Nonvolatile memory; And
One control program, be stored in this Nonvolatile memory, according to an Event triggered, after this control program forbids that this computer system is finished the access action of data in this Installed System Memory, carry out a performance of this Installed System Memory and adjust program, and after finishing this performance adjustment program, recover access action to these data in this Installed System Memory.
13. computer system as claimed in claim 12, it is characterized in that, this incident is a frequency conversion incident, this frequency conversion incident is imported frequency conversion instruction by the operation-interface on this computer system, with the application program that startup is stored in this Nonvolatile memory one CPU (central processing unit) of this computer system is carried out operating frequency setting action.
14. computer system as claimed in claim 12, it is characterized in that, this incident is a frequency conversion incident, this frequency conversion incident system is changed according to system load own by this computer system and starts, and this frequency conversion incident is set action in order to a CPU (central processing unit) of this computer system is carried out operating frequency.
15. computer system as claimed in claim 12, it is characterized in that, this control program is forbidden the access action of this computer system to these data in this Installed System Memory, utilize the access action of a Memory Controller Hub for a CPU (central processing unit) that prevents this computer system, also forbid the access action of a peripheral hardware device of this computer system these data in this Installed System Memory to these data in this Installed System Memory.
16. computer system as claimed in claim 15 is characterized in that, this peripheral hardware device uses a direct internal storage access device to carry out to the access action of data in this Installed System Memory.
17. computer system as claimed in claim 12 is characterized in that, carries out this performance of this Installed System Memory and adjusts program, comprises to send an internal memory earlier and instruct to this Installed System Memory, just carries out this performance adjustment program.
18. computer system as claimed in claim 17, it is characterized in that, the instruction of this internal memory comprise set configuration registers, enter automatic update mode, leave automatic update mode, enter energy-saving mode, leave energy-saving mode, impedance correction fast, impedance correction, attonity.
CN2010101217972A 2010-02-11 2010-02-11 Method for adjusting performance of system memory and computer system Active CN101788847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101217972A CN101788847B (en) 2010-02-11 2010-02-11 Method for adjusting performance of system memory and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101217972A CN101788847B (en) 2010-02-11 2010-02-11 Method for adjusting performance of system memory and computer system

Publications (2)

Publication Number Publication Date
CN101788847A true CN101788847A (en) 2010-07-28
CN101788847B CN101788847B (en) 2012-07-04

Family

ID=42532084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101217972A Active CN101788847B (en) 2010-02-11 2010-02-11 Method for adjusting performance of system memory and computer system

Country Status (1)

Country Link
CN (1) CN101788847B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853307A (en) * 2012-12-04 2014-06-11 鸿富锦精密工业(深圳)有限公司 Electronic device and method for reducing power consumption of processor system
CN105808344A (en) * 2014-12-31 2016-07-27 环旭电子股份有限公司 Network equipment with rapid throttling trigger mechanism
CN108021452A (en) * 2017-12-15 2018-05-11 郑州云海信息技术有限公司 A kind of method, apparatus and readable storage medium storing program for executing of the synchronization of distributed system data
CN112363833A (en) * 2020-11-10 2021-02-12 海光信息技术股份有限公司 Memory allocation method and device for network data packet and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1519679A (en) * 2003-01-21 2004-08-11 英业达股份有限公司 Configuration of adjusting CPU operating frequency and method
CN1687867A (en) * 2005-05-25 2005-10-26 威盛电子股份有限公司 Method for regulating internal storage frequency
CN1936778A (en) * 2006-10-27 2007-03-28 北京中星微电子有限公司 Method and apparatus for switching-over internal memory clock frequency and system therefor
CN101604181A (en) * 2008-06-12 2009-12-16 华硕电脑股份有限公司 The management tool of computer system and its stream handle clock and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1519679A (en) * 2003-01-21 2004-08-11 英业达股份有限公司 Configuration of adjusting CPU operating frequency and method
CN1687867A (en) * 2005-05-25 2005-10-26 威盛电子股份有限公司 Method for regulating internal storage frequency
CN1936778A (en) * 2006-10-27 2007-03-28 北京中星微电子有限公司 Method and apparatus for switching-over internal memory clock frequency and system therefor
CN101604181A (en) * 2008-06-12 2009-12-16 华硕电脑股份有限公司 The management tool of computer system and its stream handle clock and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《计算机结构组成与外部设备》 20010131 王小刚 等 计算机的结构组成 , 1 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853307A (en) * 2012-12-04 2014-06-11 鸿富锦精密工业(深圳)有限公司 Electronic device and method for reducing power consumption of processor system
CN105808344A (en) * 2014-12-31 2016-07-27 环旭电子股份有限公司 Network equipment with rapid throttling trigger mechanism
CN108021452A (en) * 2017-12-15 2018-05-11 郑州云海信息技术有限公司 A kind of method, apparatus and readable storage medium storing program for executing of the synchronization of distributed system data
CN112363833A (en) * 2020-11-10 2021-02-12 海光信息技术股份有限公司 Memory allocation method and device for network data packet and related equipment
CN112363833B (en) * 2020-11-10 2023-01-31 海光信息技术股份有限公司 Memory allocation method and device for network data packet and related equipment

Also Published As

Publication number Publication date
CN101788847B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
KR101343714B1 (en) Shared nonvolatile memory architecture
US10566075B2 (en) Electronic device performing training on memory device by rank unit and training method thereof
EP3274788B1 (en) Technologies for improved hybrid sleep power management
US6212631B1 (en) Method and apparatus for automatic L2 cache ECC configuration in a computer system
JP5469254B2 (en) Modified mechanism for detecting no processor swap condition and fast bus calibration during boot
EP3158452B1 (en) Firmware interface with durable memory storage
CN107924225B (en) System and method for dynamically adjusting memory state transition timers
US9395919B1 (en) Memory configuration operations for a computing device
EP2477090A2 (en) Coordinating performance parameters in multiple circuits
US10235259B2 (en) Memory overclocking method and computer device
US20240004442A1 (en) Enhanced power management for support of priority system events
US20140013140A1 (en) Information processing apparatus and computer program product
CN101788847B (en) Method for adjusting performance of system memory and computer system
US20160092115A1 (en) Implementing storage policies regarding use of memory regions
US10725525B2 (en) Method of operating system-on-chip, system-on-chip performing the same and electronic system including the same
US20110197043A1 (en) Method for adjusting performance of system memory and computer system thereof
US20070005860A1 (en) Interrupt control system and method
US7315928B2 (en) Apparatus and related method for accessing page mode flash memory
KR20230174749A (en) Method for adjusting the operating frequency of memory, smart terminals and storage media
US20170003904A1 (en) Electronic apparatus and power management method for solid state disk thereof
CN117406845B (en) Reset method, reset device, computer equipment and storage medium
US20240220108A1 (en) Automated Memory Overclocking
WO2024144868A1 (en) Automated memory overclocking
TWI442220B (en) Electronic device having power saving mechanism and method thereof
KR20100033833A (en) Method of reading data coherently

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant