WO2018004499A1 - A real time operation method - Google Patents
A real time operation method Download PDFInfo
- Publication number
- WO2018004499A1 WO2018004499A1 PCT/TR2017/050261 TR2017050261W WO2018004499A1 WO 2018004499 A1 WO2018004499 A1 WO 2018004499A1 TR 2017050261 W TR2017050261 W TR 2017050261W WO 2018004499 A1 WO2018004499 A1 WO 2018004499A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computer
- performance
- background
- real time
- operation method
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012360 testing method Methods 0.000 claims abstract description 17
- 238000011056 performance test Methods 0.000 claims abstract description 14
- 238000013475 authorization Methods 0.000 claims description 2
- 238000004088 simulation Methods 0.000 description 12
- 238000005457 optimization Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
Definitions
- the present invention relates to an operation method which allows a computer operating with a Linux based operating system to operate in real time especially for real time simulation applications.
- the devices operating with real time operating system are used to run said simulation applications. Since said devices are in need of special equipment, cost of the devices operating with real time operating system according to the applications in the known art is high.
- the patent document no. US6167425A of the state-of-the-art discloses a method for implementing a real time program in a Windows based non-real time operating system.
- real time and non-real time applications can be run on a Windows based computer.
- a method for operating a computer which runs with Linux based operating system and comprises a processor having at least two cores, in real time.
- Said method comprises the steps of receiving a list of background applications in the Linux based operating system; closing at least one background application at the received list; testing computer performance after the background application is closed; recording performance test results; repeating the steps of closing the background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list; by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance; closing the determined background applications; assigning at least one core of the computer processor for the operating system and at least one other core for a real time application, and restarting the computer.
- soft optimization is provided.
- hardware optimization is provided. Therefore, it is ensured that a real time application such as a flight simulation is run by using a computer with lower cost in comparison to real time operating systems in the conventional applications.
- An object of the present invention is to develop an operation method for operation of a computer, which runs with Linux based operating system, in real time.
- Another object of the present invention is to develop an operation method for running the real time flight simulation applications in a computer with Linux based operating system.
- Further object of the present invention is to develop a low-cost and reliable operation method for real time operation of a computer.
- the operation method developed by the present invention ensures that a computer which runs with Linux based operating system and comprises a processor having at least two cores, is operated in real time.
- Said method comprises the steps of receiving a list of background applications (daemon) in the Linux based operating system; closing at least one background application at the received list; testing computer performance after the background application is closed; recording performance test results; repeating the steps of closing the background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list; by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance; closing the determined background applications; assigning at least one core of the computer processor for the operating system and at least one other core for a real time application, and restarting the computer.
- background applications daemon
- soft optimization of the computer by way of testing the computer performance by closing different background applications (daemon), soft optimization of the computer is provided.
- the effect of interaction of different background applications with one another on the performance can also be observed. For example, while closing two background applications separately increases the performance, closing these background applications together may decrease the system performance.
- soft optimization process is carried out more efficiently.
- a hardware optimization is provided, as well. Therefore, for example due to the fact that cores assigned for a real time application runs only the real time application, the system is ensured to operate with a higher performance.
- response time of the computer to each data input versus a plurality of different data input is measured in the step of testing the computer performance.
- the response time to each data input must be deterministic (for example, 5 ms).
- said method comprises step of testing the simulation program at the computer and submitting the test results to users.
- the simulation program can be operated. If the test simulation does not run in an intended manner, it is returned back to the step of closing at least one background application or step of assigning at least one core of the computer processor for the operating system, and at least one other core for a real time application.
- soft performance can be increased.
- soft performance can also be increased. In other words, in this embodiment, repeating the soft optimization and/or hardware optimization provides an increase in performance.
- method developed by the present invention comprises the step of requesting user authorisation before the step of receiving list of background applications in the Linux based operating system.
- an authorised user for example, administrator
- it is proceeded to the step of receiving the list of background applications
- the process is ended if the process is started by an unauthorised user.
- unauthorised users are prevented from starting the optimization process in a faulty manner.
- said operation method comprises step of choosing the background applications, by a user, which may be closed before the step of closing at least one background application in the received list.
- closing the background applications that are critical for the use of the computer for example, applications providing data input and output is prevented.
- soft optimization is provided.
- hardware optimization is provided. Therefore, it is ensured to operate a real time application such as a flight simulation by using a low-cost computer in comparison to systems operating in real time in the conventional applications.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
With the present invention, there is developed an operation method for operating, in real time, a computer which runs with Linux based operating system and comprises a processor which has at least two cores. Said method comprises the steps of receiving list of background applications in the Linux based operating system; closing at least one background application at the received list; testing computer performance after the background application is closed; recording performance test results; repeating the steps of closing the background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list; by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance; closing the determined background applications; assigning at least one core of the computer processor for the operating system, and at least one other core for a real time application; and restarting the computer.
Description
DESCRIPTION
A REAL TIME OPERATION METHOD
Technical Field
The present invention relates to an operation method which allows a computer operating with a Linux based operating system to operate in real time especially for real time simulation applications.
Prior Art
In the real time simulation applications such as aircraft flight simulation, it is required, by processing an input data in a deterministic manner (in other words, in real time), to execute the input data related process and submit the result of the process to users again in a deterministic manner. Thus, in the known art, the devices operating with real time operating system (ROTS) are used to run said simulation applications. Since said devices are in need of special equipment, cost of the devices operating with real time operating system according to the applications in the known art is high.
The patent document no. US6167425A of the state-of-the-art discloses a method for implementing a real time program in a Windows based non-real time operating system. In the said method, real time and non-real time applications can be run on a Windows based computer. However, it is not possible to run applications such as flight simulation requiring high precision and low response time in the method disclosed in the patent document no. US6167425A because the operating system is not sufficiently optimized.
Brief Description of the Invention
With the present invention, there is developed a method for operating a computer which runs with Linux based operating system and comprises a processor having at least two cores, in real time. Said method comprises the steps of receiving a list of background applications in the Linux based operating system; closing at least one background application at the received list; testing computer performance after the background application is closed; recording performance test results; repeating the steps of closing the
background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list; by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance; closing the determined background applications; assigning at least one core of the computer processor for the operating system and at least one other core for a real time application, and restarting the computer.
In the operation method developed with the present invention, by way of controllably closing the background applications, soft optimization is provided. Again, by way of assigning at least one of the processor cores for the operating system, and at least one other for simulation program to be run in the computer, hardware optimization is provided. Therefore, it is ensured that a real time application such as a flight simulation is run by using a computer with lower cost in comparison to real time operating systems in the conventional applications.
Object of the Invention
An object of the present invention is to develop an operation method for operation of a computer, which runs with Linux based operating system, in real time.
Another object of the present invention is to develop an operation method for running the real time flight simulation applications in a computer with Linux based operating system.
Further object of the present invention is to develop a low-cost and reliable operation method for real time operation of a computer.
Description of the Invention For the accurate and deterministic operation of real time simulation applications such as aircraft flight simulation, devices operating with real time operating systems (ROTS) are required. However, as said devices have expensive equipment, cost of these devices is high, as well. For this reason, with the present invention, there is developed an operation
method for operation of a computer, which runs with Linux based operating system, in real time.
The operation method developed by the present invention ensures that a computer which runs with Linux based operating system and comprises a processor having at least two cores, is operated in real time. Said method comprises the steps of receiving a list of background applications (daemon) in the Linux based operating system; closing at least one background application at the received list; testing computer performance after the background application is closed; recording performance test results; repeating the steps of closing the background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list; by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance; closing the determined background applications; assigning at least one core of the computer processor for the operating system and at least one other core for a real time application, and restarting the computer.
In the method developed by the present invention, by way of testing the computer performance by closing different background applications (daemon), soft optimization of the computer is provided. Here, the effect of interaction of different background applications with one another on the performance can also be observed. For example, while closing two background applications separately increases the performance, closing these background applications together may decrease the system performance. In the method developed by the present invention, since the effect of closing different background applications together on the performance can also be determined, soft optimization process is carried out more efficiently. Additionally, due to assigning different cores of the processor for different tasks (customization to different process) subsequent to the soft optimization, a hardware optimization is provided, as well. Therefore, for example due to the fact that cores assigned for a real time application runs only the real time application, the system is ensured to operate with a higher performance.
In a preferred embodiment of the present invention, response time of the computer to each data input versus a plurality of different data input is measured in the step of testing the computer performance. For a system to be able to operate in real time, the response time to each data input must be deterministic (for example, 5 ms). In addition to this, for a
stable operation of the system, it is important that response times to different data inputs are as close as possible to each other. For this reason, in the step of by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance, the state in which the response time to each data input is below a threshold value and standard deviations of said response times are the lowest is chosen as providing the highest performance.
In another preferred embodiment of the invention, after step of restarting the computer, said method comprises step of testing the simulation program at the computer and submitting the test results to users. In this embodiment, if test simulation runs in an intended manner, the simulation program can be operated. If the test simulation does not run in an intended manner, it is returned back to the step of closing at least one background application or step of assigning at least one core of the computer processor for the operating system, and at least one other core for a real time application. Thus, for example by closing different background applications, soft performance can be increased. In addition, by changing the number of cores of the processor which are assigned for a real time application, soft performance can also be increased. In other words, in this embodiment, repeating the soft optimization and/or hardware optimization provides an increase in performance.
In another preferred embodiment of the invention, method developed by the present invention comprises the step of requesting user authorisation before the step of receiving list of background applications in the Linux based operating system. In this embodiment, if the process is started by an authorised user (for example, administrator), it is proceeded to the step of receiving the list of background applications, whereas the process is ended if the process is started by an unauthorised user. Thus, unauthorised users are prevented from starting the optimization process in a faulty manner.
In another preferred embodiment of the invention, said operation method comprises step of choosing the background applications, by a user, which may be closed before the step of closing at least one background application in the received list. In this embodiment, closing the background applications that are critical for the use of the computer (for example, applications providing data input and output) is prevented.
In the operation method developed by the present invention, by way of controllably closing the background applications, soft optimization is provided. Again, by way of assigning at
least one of processor cores for the operating system, and at least one other for simulation program to be run in the computer, hardware optimization is provided. Therefore, it is ensured to operate a real time application such as a flight simulation by using a low-cost computer in comparison to systems operating in real time in the conventional applications.
Claims
An operation method for operating, in real time, a computer which runs with Linux based operating system and comprises a processor with at least two cores, characterized by comprising the steps of:
- receiving a list of background applications in the Linux based operating system;
- closing at least one background application at the received list;
- testing computer performance after the background application is closed;
- recording performance test results;
- repeating the steps of closing the background application, testing the computer performance, and recording the performance test results for all the background applications chosen from the list;
- by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance;
- closing the determined background applications;
- assigning at least one core of the computer processor for the operating system, and at least one other core for a real time application and
- restarting the computer.
An operation method according to Claim 1 , characterized in that step of testing the computer performance comprises the step of measuring response time of the computer to each data input versus a plurality of different data input.
3. An operation method according to Claim 2, characterized in that in the step of by comparing recorded performance test results, determining background applications which are closed in such a state providing the highest performance, the condition in which the response time to each data input is below a threshold value and standard deviations of said response times are the lowest is chosen as providing the highest performance.
4. An operation method according to Claim 1 , characterized by comprising the step of testing the simulation program in the computer and submitting the test results to users after the step of restarting the computer.
5. An operation method according to Claim 1 , characterized by comprising the step of requesting user authorisation before the step of receiving the list of background applications in the Linux based operating system.
6. An operation method according to Claim 1 , characterized by comprising the step of choosing the background applications, by a user, which may be closed before the step of closing at least one background application in the received list.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TR2016/08894 | 2016-06-27 | ||
TR2016/08894A TR201608894A3 (en) | 2016-06-27 | 2016-06-27 | A real-time working method. |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018004499A1 true WO2018004499A1 (en) | 2018-01-04 |
Family
ID=59955615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/TR2017/050261 WO2018004499A1 (en) | 2016-06-27 | 2017-06-14 | A real time operation method |
Country Status (2)
Country | Link |
---|---|
TR (1) | TR201608894A3 (en) |
WO (1) | WO2018004499A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984228A (en) * | 2018-07-16 | 2018-12-11 | 深圳市元征科技股份有限公司 | A kind of background program method for closing, system, equipment and computer storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167425A (en) | 1996-11-22 | 2000-12-26 | Beckhoff; Hans | System for implementing a real time control program in a non-real time operating system using interrupts and enabling a deterministic time charing between the control program and the operating system |
EP1467282A2 (en) * | 2003-04-09 | 2004-10-13 | Jaluna SA | Operating systems |
US20050013705A1 (en) * | 2003-07-16 | 2005-01-20 | Keith Farkas | Heterogeneous processor core systems for improved throughput |
US20120131586A1 (en) * | 2010-11-18 | 2012-05-24 | Electronics And Telecommunications Research Institute | Apparatus and method for controlling response time of application program |
WO2012152326A1 (en) * | 2011-05-11 | 2012-11-15 | Siemens Aktiengesellschaft | System and method for providing and running one or more real-time virtual machines on a multicore computer |
US20120331474A1 (en) * | 2010-02-19 | 2012-12-27 | Nec Corporation | Real time system task configuration optimization system for multi-core processors, and method and program |
WO2013010143A2 (en) * | 2011-07-13 | 2013-01-17 | Z124, A Body Corporate | Foreground/background assortment of hidden windows |
US20140031026A1 (en) * | 2012-07-30 | 2014-01-30 | Tencent Technology (Shenzhen) Company Limited | Method and device for performing a cleaning process on a portable electronic device |
US20140351729A1 (en) * | 2013-05-21 | 2014-11-27 | Samsung Electronics Co., Ltd. | Method of operating application and electronic device implementing the same |
US20150193240A1 (en) * | 2010-06-25 | 2015-07-09 | AVG Netherlands B.V. | Method for improving the performance of computers |
-
2016
- 2016-06-27 TR TR2016/08894A patent/TR201608894A3/en unknown
-
2017
- 2017-06-14 WO PCT/TR2017/050261 patent/WO2018004499A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167425A (en) | 1996-11-22 | 2000-12-26 | Beckhoff; Hans | System for implementing a real time control program in a non-real time operating system using interrupts and enabling a deterministic time charing between the control program and the operating system |
EP1467282A2 (en) * | 2003-04-09 | 2004-10-13 | Jaluna SA | Operating systems |
US20050013705A1 (en) * | 2003-07-16 | 2005-01-20 | Keith Farkas | Heterogeneous processor core systems for improved throughput |
US20120331474A1 (en) * | 2010-02-19 | 2012-12-27 | Nec Corporation | Real time system task configuration optimization system for multi-core processors, and method and program |
US20150193240A1 (en) * | 2010-06-25 | 2015-07-09 | AVG Netherlands B.V. | Method for improving the performance of computers |
US20120131586A1 (en) * | 2010-11-18 | 2012-05-24 | Electronics And Telecommunications Research Institute | Apparatus and method for controlling response time of application program |
WO2012152326A1 (en) * | 2011-05-11 | 2012-11-15 | Siemens Aktiengesellschaft | System and method for providing and running one or more real-time virtual machines on a multicore computer |
WO2013010143A2 (en) * | 2011-07-13 | 2013-01-17 | Z124, A Body Corporate | Foreground/background assortment of hidden windows |
US20140031026A1 (en) * | 2012-07-30 | 2014-01-30 | Tencent Technology (Shenzhen) Company Limited | Method and device for performing a cleaning process on a portable electronic device |
US20140351729A1 (en) * | 2013-05-21 | 2014-11-27 | Samsung Electronics Co., Ltd. | Method of operating application and electronic device implementing the same |
Non-Patent Citations (2)
Title |
---|
BOLLA RAFFAELE ET AL: "Improving Smartphones Battery Life by Reducing Energy Waste of Background Applications", 2014 EIGHTH INTERNATIONAL CONFERENCE ON NEXT GENERATION MOBILE APPS, SERVICES AND TECHNOLOGIES, IEEE, 10 September 2014 (2014-09-10), pages 123 - 130, XP032703354, DOI: 10.1109/NGMAST.2014.10 * |
GUPTA UJJWAL ET AL: "A generic energy optimization framework for heterogeneous platforms using scaling models", MICROPROCESSORS AND MICROSYSTEMS, vol. 40, 1 February 2016 (2016-02-01), pages 74 - 87, XP029374553, ISSN: 0141-9331, DOI: 10.1016/J.MICPRO.2015.06.009 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984228A (en) * | 2018-07-16 | 2018-12-11 | 深圳市元征科技股份有限公司 | A kind of background program method for closing, system, equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
TR201608894A3 (en) | 2018-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10698799B2 (en) | Indicating a readiness of a change for implementation into a computer program | |
US10212058B2 (en) | System and method for detecting system's performance regression | |
US10678670B2 (en) | Evaluating fairness in devices under test | |
US9218273B2 (en) | Automatic generation of a resource reconfiguring test | |
EP3321808B1 (en) | Verification system and verification method | |
US11347628B2 (en) | Test case generation apparatus, test case generation method, and computer readable medium | |
AU2017235993B2 (en) | Dynamic loading and deployment of test files to prevent interruption of test execution | |
EP3605353A1 (en) | Method and system for data transfer between databases | |
WO2018004499A1 (en) | A real time operation method | |
US11639804B2 (en) | Automated testing of HVAC devices | |
US10685292B1 (en) | Similarity-based retrieval of software investigation log sets for accelerated software deployment | |
JP5967091B2 (en) | System parameter setting support system, data processing method of system parameter setting support device, and program | |
US9524801B2 (en) | Persistent command parameter table for pre-silicon device testing | |
CN113126881B (en) | System configuration method, device, equipment, readable storage medium and distributed storage system | |
US10606971B2 (en) | Testing netlists based on singular independent signals | |
US11645142B1 (en) | Use sequential set index for root cause location and problem verification | |
JP7499366B2 (en) | Accuracy verification system, method, device, and program | |
US10037262B2 (en) | Accelerated test automation framework | |
US11803427B2 (en) | Method of contentions mitigation for an operational application, associated computer program product and method for determining a stress application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17772135 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17772135 Country of ref document: EP Kind code of ref document: A1 |