CN105610897B - Calculation method based on the M/M/1 TOC service model being lined up and its service response time - Google Patents

Calculation method based on the M/M/1 TOC service model being lined up and its service response time Download PDF

Info

Publication number
CN105610897B
CN105610897B CN201510816067.7A CN201510816067A CN105610897B CN 105610897 B CN105610897 B CN 105610897B CN 201510816067 A CN201510816067 A CN 201510816067A CN 105610897 B CN105610897 B CN 105610897B
Authority
CN
China
Prior art keywords
module
processor
toc
operation request
service
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
CN201510816067.7A
Other languages
Chinese (zh)
Other versions
CN105610897A (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.)
YANCHENG JINKUN ENERGY SAVING TECHNOLOGY Co.,Ltd.
Original Assignee
Fuyang Normal 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 Fuyang Normal University filed Critical Fuyang Normal University
Priority to CN201510816067.7A priority Critical patent/CN105610897B/en
Publication of CN105610897A publication Critical patent/CN105610897A/en
Application granted granted Critical
Publication of CN105610897B publication Critical patent/CN105610897B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of TOC service model being lined up based on M/M/1 and its calculation methods of service response time, including client and as the server for the exclusive node for completing user's calculating demand;User submits operation request by user end to server, and result is fed back to client again after completing operation by server;Server includes operation request receiving module, data preprocessing module, task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module, decoder module and operation result sending module.Model emulation of the present invention shows operand and wide area network transmission speed is the bottleneck for influencing system response time, therefore, the system effectiveness just appropriate task management system of necessary analysis and design is improved, to facilitate user to use TOC as using electronic computer, to reduce volume of transmitted data.

Description

Calculation method based on the M/M/1 TOC service model being lined up and its service response time
Technical field
The present invention relates to three value optical computer fields more particularly to it is a kind of based on M/M/1 be lined up TOC service model and The calculation method of its service response time.
Background technique
Three value optical computer (Ternary Optical are proposed from professor Jin Yi of Shanghai University in 2003 Computer, TOC) architecture and principle, researchers not only achieve many important achievements in hardware aspect, and soft Remarkable progress is also obtained in terms of part.Such as to propose depreciation design theory, adder through carry lane theoretical, realize without into Position addition and vector-matrix multiplication.What is particularly worth mentioning is that depreciation design theory makes the optical processor of TOC have reconstruct Property.It is also just to say, TOC has the flexibility calculated, and different processors can be constructed according to calculating demand.Meanwhile optical oomputing Concurrency make TOC processor have huge position property.In short, TOC, as a kind of novel computing resource, user can pass through network Obtaining has high-performance, scalability and the service of safety.
Although TOC optical processor is because having the excellent spy of concurrency, huge position property, reconfigurability and step-by-step allocability etc. Property, but lack research to TOC service model performance at present, therefore can not to three value optical computer task management systems into The effective management of row.
Summary of the invention
Shortcoming present in view of the above technology, the present invention provide a kind of raising system effectiveness, to ensure its offer The TOC service model of better network communication services being lined up based on M/M/1 and its calculation method of service response time.
To achieve the above object, the present invention provide it is a kind of based on M/M/1 be lined up TOC service model, including client and Server as the exclusive node for completing user's calculating demand;User submits operation request, clothes by user end to server Result is fed back to client again after completing operation by business device;
The server includes operation request receiving module, data preprocessing module, task scheduling modules, processor distribution Module, processor hardware reconstructed module, processor module, decoder module and operation result sending module;Operation request receives After module receives the operation request of user's submission, data preprocessing module is sent it to;Data preprocessing module calculates The priority of operation request is simultaneously inserted into chained list to be dispatched;Task scheduling modules complete the scheduling of task in chained list, by task It is sent to processor distribution module;Processor distribution module is according to the different fortune that distribution according to need principle is in being scheduled for task Optics processor resource is matched in point counting;Meanwhile processor hardware reconstructed module is completed at optics according to the different calculating demand of user Reason thinks highly of structure, and is that user completes operation with the processor module reconstructed, and decoder module is decoded operation result, And operation result is sent to operation result sending module, last operation result sending module feeds back to operation result accordingly Client.
To achieve the above object, the present invention also provides when a kind of service response of TOC service model being lined up based on M/M/1 Between calculation method, different user concurrently can submit operation to request, will be by waiting system arrange when nonidentity operation request reaches Team, therefore it is based on M/M/1 queuing system, TOC is public for the calculating for the average response time T that n operation request provides the service of calculating Formula is:
T=TRA+TDPP+TRS+TRT (1)
Wherein TRAIndicate that operation request receiving module receives operation request required average time, TDPPOperation is asked in expression It asks and carries out pre-processing required average time, TRSAverage time needed for indicating scheduler task, TRTExpression sends operation result To the average time of user;
The TRAIt is calculated as
Wherein λ indicates the number of tasks reached in the unit time, that is, operation request arrival rate, and μ indicates each operation request Average calculating operation amount, ω indicate to receive the network transfer speeds of operation request;
The TDPPIt is calculated as
Wherein τ indicates that data preprocessing module carries out pre-treating speed to the data in operation request;
The TRSIt is calculated as
Wherein θ indicates task scheduling modules, processor distribution module, processor hardware reconstructed module, place's device module reconciliation The service speed of the waiting queue processed of code device module composition;
The TRTIt is calculated as
(2), (3), (4) and (5) formula substitution (1) formula are obtained into service average response time T:
Wherein, task scheduling modules send data to TOCAverage transmission rate be j, processor hardware reconstructed module Completing the processor distribution time is constant C1, the time that processor hardware reconstructed module completes optical processor reconstruct is constant C2, The processing speed of TOC is δ, then task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module It can be acquired by following formula (7) with the service speed θ of the waiting queue processed of decoder module composition;And the formula (4) is to pass through Formula (7) obtains
Wherein, the TRSNot only include the task schedule time, further include processor distribution the time, processor reconstitution time, Operation time and decoding time.
Wherein, the n operation request reaches the exponential distribution for obeying that parameter is λ, and transmitted data amount is μ/2, transmits number It is the ω of μ/2 according to required average time, the service speed that operation request number is received in the unit time is 2 ω/μ.
The beneficial effects of the invention are as follows:Compared with prior art, the TOC service provided by the invention being lined up based on M/M/1 The calculation method of model and its service response time, user submit operation to request by user end to server, and server is completed Result is fed back into client again after operation;Based on M/M/1 queuing system and tandem queue and first come first served basis, obtain The calculation method of the overall service response time of TOC service is arrived, which obtains, discovery service response time is with appointing Business arrival rate and operand increase and increase, reduced with the increase of network transmission rate.By the improvement of the system and method, System effectiveness is improved, to ensure that it provides better network communication services.In addition, the calculating of the system service response time is public Formula, therefore model emulation, which shows operand, and wide area network transmission speed is, which influences the bottleneck of system response time, will improve system Efficiency is with regard to the appropriate task management system of necessary analysis and design, to facilitate user to use TOC as using electronic computer, To reduce volume of transmitted data.
Detailed description of the invention
Fig. 1 is the network frame figure of the TOC service model of the invention being lined up based on M/M/1;
Fig. 2 is the working principle diagram of server in the TOC service model of the invention being lined up based on M/M/1;
Fig. 3 is task queue's model of TOC in the present invention;
Fig. 4 is the relational graph that average response time T changes with λ in the present invention;
Fig. 5 is the relational graph that average response time T changes with λ and μ in the present invention;
Fig. 6 is average response time T under operand μ different in the present invention with the variation relation figure of λ;
Fig. 7 is average response time T under transmission rate ω different in the present invention with the variation relation figure of λ;
Fig. 8 is average response time T under data prediction speed τ different in the present invention with the variation relation figure of λ;
Fig. 9 is TOC optical processor arithmetic speed different in the present invention, processor distribution time C1 and optical processor Under reconstitution time C2 different ω T with λ variation relation figure;
Figure 10 is T in the present invention with the relational graph of the variation of ω;
The relational graph that T changes with ω and μ when Figure 11 is λ=20 in the present invention.
Main element symbol description is as follows:
1, client 2, server
21, operation request receiving module 22, data preprocessing module
23, task scheduling modules 24, processor distribution module
25, processor hardware reconstructed module 26, processor module
27, decoder module 28, operation result sending module.
Specific embodiment
In order to more clearly state the present invention, the present invention is further described with reference to the accompanying drawing.
The TOC service model of the invention being lined up based on M/M/1 referring to FIG. 1-2, including client 1 and as completion User calculates the server 2 of the exclusive node of demand;User submits operation request, server 2 to server 2 by client 1 Result is fed back into client 1 again after completing operation;
Server 2 includes operation request receiving module 21, data preprocessing module 22, task scheduling modules 23, processor Distribution module 24, processor hardware reconstructed module 25, processor module 26, decoder module 27 and operation result sending module 28;After operation request receiving module 21 receives the operation request of user's submission, data preprocessing module 22 is sent it to;Number Data preprocess module 22 calculates the priority of operation request and is inserted into chained list to be dispatched;Task scheduling modules 23 complete chained list Task is sent processor distribution module 24 by the scheduling of middle task;Processor distribution module 24 according to distribution according to need principle be Nonidentity operation in being scheduled for task distributes optical processor resource;Meanwhile processor hardware reconstructed module 25 according to The different calculating demand in family completes optical processor reconstruct, and is that user completes operation with the processor module 26 reconstructed, Decoder module 27 is decoded operation result, and operation result is sent to operation result sending module 28, last operation As a result operation result is fed back to corresponding client 1 by sending module 28.
The present invention also provides a kind of calculation method of the service response time of TOC service model being lined up based on M/M/1, packets It includes because different user concurrently can submit operation to request, it will be by waiting system to be lined up, therefore when nonidentity operation request reaches Based on M/M/1 queuing system, TOC is for the calculation formula for the average response time T that n operation request provides the service of calculating:
T=TRA+TDPP+TRS+TRT (1)
Wherein TRAIndicate that operation request receiving module receives operation request required average time, TDPPOperation is asked in expression It asks and carries out pre-processing required average time, TRSAverage time needed for indicating scheduler task, TRTExpression sends operation result To the average time of user;
TRAIt is calculated as
Wherein λ indicates the number of tasks reached in the unit time, that is, operation request arrival rate, and μ indicates each operation request Average calculating operation amount, ω indicate to receive the network transfer speeds of operation request;
TDPPIt is calculated as
Wherein τ indicates that data preprocessing module carries out pre-treating speed to the data in operation request;
TRSIt is calculated as
Wherein θ indicate task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module and The service speed for the waiting queue processed that decoder module is constituted;
TRTIt is calculated as
(2), (3), (4) and (5) formula substitution (1) formula are obtained into service average response time T:
In the present embodiment, by the data in an operation to be calculated request when task scheduling modules carry out task schedule It is sent to TOC, and it is deleted from queue.And preprocessor distribution module be its carry out optical processor distribution, processing Device hardware reconstruction module carries out optical processor reconstruct for it, and processor module carries out optical operation, and decoder module is to operation knot Fruit is decoded.In other words, task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module It can be modeled with waiting M/M/1 queuing system together with 5 block combiners such as decoder module.Therefore, TRSNot only wrap The task schedule time is included, further includes processor distribution time, processor reconstitution time, operation time and decoding time.Processor The processor hardware reconstructed module that distribution module carries out processor distribution sum carries out all being one normal the time required to arithmetic unit reconstruct Number.What is particularly worth mentioning is that processor reconstructed module is specific to TOC.Although the module makes TOC be provided with the spirit of calculating Activity, but also increase overhead.Therefore, in order to analyze the two modules to system performance especially service response time It influences, though constant, can not be ignored.
The average transmission rate that task scheduling modules send data to TOC is j, and processor hardware reconstructed module is completed Processor distributes the time as constant C1, the time that processor hardware reconstructed module completes optical processor reconstruct is constant C2, TOC Processing speed be δ, then task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module reconciliation The service speed θ of the waiting queue processed of code device module composition can be acquired by following formula (7);And formula (4) is obtained by formula (7) 's.
The calculation method of the TOC service model provided by the invention being lined up based on M/M/1 and its service response time, user Operation request is submitted by user end to server, result is fed back to client again after completing operation by server;Based on M/M/1 Queuing system and tandem queue and first come first served basis have obtained the calculating of the overall service response time of TOC service Method, the calculation method show that discovery service response time increases with the increase of task arrival rate and operand, with network The increase of transmission rate and reduce.By the improvement of the system and method, system effectiveness is improved, to ensure that it provides better network Communication service.In addition, the calculation formula of the system service response time, model emulation shows operand and wide area network transmission speed It is the bottleneck for influencing system response time, therefore, to improve system effectiveness just must the appropriate task management system of analysis and design System, to facilitate user to use TOC as using electronic computer, to reduce volume of transmitted data.
The present invention will establish TOC service model based on M/M/1 queuing system and First Come First Served strategy with Analysis Service The global response time.Have a unique operation request receiving module in server, for receive user comprising several two The operation of first three-valued logic operation is requested.To reduce transmitted data amount, the operand of each operation is to communicate Internal Code (each operation Number accounts for 2 binary digits) mode is transmitted to operation request receiving module, i.e., and each byte stores 2 pairs of operands.Because difference is used Family concurrently can submit operation to request, and will be lined up by waiting making when nonidentity operation request reaches, therefore operation request receives Module can be expressed with a M/M/1 queuing system.Using a binary three-valued logic operation as the digit of operand, Assuming that the exponential distribution that parameter is λ is obeyed in n operation request arrival, the average calculating operation amount of each operation request is μ, reception operation is asked The network transfer speeds asked are ω, then transmitted data amount is μ/2, and average time needed for transmitting data is the ω of μ/2, in the unit time Receiving operation request number, that is, operation request receiving module service speed is 2 ω/μ.That is, receiving operation requests luck It is 2 ω/μ exponential distribution that parameter is obeyed in the service for calculating request receiving module.Operation request receiving module has received operation request Afterwards, data preprocessing module just pre-processes it.Data preprocessing module is also unique in the server.Namely It says, data preprocessing module can also be expressed with a M/M/1 queuing system.If data preprocessing module is in operation request Data to carry out pretreated speed be τ, then similarly known to data preprocessing module obey the exponential distribution that parameter is τ/μ. Obviously, in server existence anduniquess a task scheduling modules.Although having proposed the timer-triggered scheduler strategy of suitable TOC, the plan Optical processor can slightly be made while handling multiple operation requests, but for simplicity, it is assumed that only handle an operation every time and ask Ask, as soon as i.e. TOC is every handled a task after, task scheduling modules dispatch a task to TOC, which is referred to as operation Scheduling strategy when completion, scheduling strategy when referred to as completing.Processor distribution module is according to the operand of operation each in task Each operation carries out distribution according to need optical processor and has ensured that each operation is completed at the same time, and optical processor needed for searching each operation Code is reconstructed, the processor reconstructed module of TOC is then sent it to.Because of nonidentity operation included in each operation request No more than 15, the reconfiguration information amount variation for being sent to processor hardware reconstructed module is little.Thus, it is assumed that operation request receives Module is completed the time required to processor distribution to be a constant.Processor hardware reconstructed module receive processor allocation result and.
Just the reconstruct of processor is carried out after the reconstruct code of optical processor needed for each operation, the reconstruct of each arithmetic unit is parallel , therefore to given optical processor, reconstruct takes time to be also a constant.It completes after processor reconstructs at TOC optics It manages device and operation is carried out to data, decoder is decoded operation result, and operation result is sent to result operation result hair Send module.Obviously, the operation time of TOC is related with the arithmetic speed of operand μ and optical processor.Because network transfer speeds are remote Less than the processing speed of optical processor, so operation result sending module can also be expressed with a M/M/1 queuing system.Cause For for binary three-valued logic operation, two operands obtain an operation result, so the size of operation result is μ/4. Obviously, the speed for sending operation result is also network transfer speeds ω.Therefore parameter is obeyed in the service of operation result sending module For 4 ω/μ exponential distribution.As can be seen from the above analysis, above-mentioned each process constitutes a 4 stage tandem queue [system]s, such as Shown in Fig. 3.
In order to study different parameters to the system performance especially influence of average response time T, model is emulated, phase It is as follows to close parameter:
The arrival rate λ of operation request:The number of tasks reached in the unit time.The increasing function that the T known to (6) formula is;
Average calculating operation amount μ:Although TOC can carry out false add and vector-matrix multiplication, operand here is only Indicate that the operand of included binary three-valued logic operation is requested in each operation.Because other operations can pass through binary three-valued logic Operation is to realize, and the client of user can only also submit binary three-valued logic operation in current task management system, Non- binary three-valued logic operation cannot be submitted;
Network transfer speeds ω:Although network transfer speeds differ greatly in local area network and wide area network, the not only face TOC To LAN subscriber, there are also many wan users.Therefore, we are imitative to model is carried out with data transmission bauds in wide area network Very;
Data prediction speed τ:The function of data preprocessing module mainly will communicate interior code table according to different operations The data conversion shown is indicated at control Internal Code, it is clear that it is related to the electronic computer speed of service, it can reach G magnitude;
The average transmission rate that task scheduling modules send data to TOC is j:TOC passes through cable and server phase Even to complete communication therebetween.Therefore, i.e. the data transmission bauds of local area network;
TOC processing speed δ:The arithmetic speed of TOC is mainly limited to liquid crystal because of the limitation of fund at present, but considers it Concurrency, arithmetic speed still can reach G magnitude.
To get how λ influences average response time T clear, model emulation is carried out with the number of tasks reached per hour.Operand μ Unit with network transfer speeds ω is respectively MB and MB/s, then the service speed of operation request receiving module is 7200 ω/μ, 7200 ω/μ operation request can be handled per hour.
It enablesThat is, ρ is by ω, Reckling in τ, j and δ determines.In general, ω is its reckling.Work as ρ<When 1, system can reach equilibrium state.Work as parameter μ =100, ω=2, τ=2, j=50 and δ=1, and when system reaches balance, to different λ average response time T with the variation of λ As shown in Figure 4.
As seen from Figure 4, when there is an operation request to reach per hour, system response time is about 38s, though with more A M/M/1 queuing system carries out series connection modeling, but when number of tasks increases, the response time is not multiplied by number of tasks.Its Reason is that while that each task will undergo each stage of model, but each module when existing simultaneously multiple tasks in system Concurrent working.The T known to (7) formula is the increasing function of μ.200 are increased to from 50 when λ increases to 60, μ from 1, and other parameters are constant When, Mean Time of Systemic Response T is as shown in Figure 5 with the variation of μ.It can be seen that system response time is with task arrival rate and operation The increase of amount and increase.
When operand μ=50 or ω=4 and when constant other parameters, Mean Time of Systemic Response T is with λ's compared with Fig. 4 Variation is significantly altered, and Mean Time of Systemic Response T is not but bright when only changing other certain parameters such as δ, τ, j, C1 and C2 Aobvious variation, as Figure 6-9.In other words, operand μ and network transfer speeds ω becomes the bottleneck of the system.Its reason master It is that while that T is the subtraction function of δ, τ and ω, is the increasing function of μ, but their magnitude is different:δ and τ is G magnitude, and μ and ω It is M magnitude.Therefore, when δ, τ and ω increase identical multiple, ω can be such that T is substantially reduced, even and if the former two increases bigger times Number can only but make T reduce very little amplitude;T can also be made to be substantially reduced when μ reduces identical multiple, as Figure 6-9.Separately by Fig. 9 Even if can be seen that δ, C1And C2It improves a lot, system response time there will not be significant change.
By being analyzed above it is found that the network latency for reducing data can reduce system response time i.e. raising system effect Rate.Obviously, reducing the network latencies of data, there are three approach:Increase the operation request for receiving operation request and receives mould Number of blocks improves network transfer speeds, reduces data volume.Obviously receiving operation request with multiple operation request receiving modules can be with System response time is improved, it can be modeled with M/M/c, it will be discussed in detail afterwards.Increase substantially network Transmission speed needs new technology, therefore it is relatively difficult under existing network environment to increase substantially network transfer speeds.At present The operation that system provides is substantially binary three-valued logic operation, and each of operand is all transmitted with communication Internal Code, though So transmitted data on network amount can be reduced to a certain extent, but will be according to conventional mathematical operator and operand input Transmitted data amount is largely reduced, to improve the response time.Therefore, the research of task management system should be accelerated, used Family uses TOC as using electronic computer.
The transmission rate that wide area network is improved it can be seen from Fig. 4 and Fig. 9 can substantially reduce system service average response time T.Further to analyze the influence to T, we draw out from 1 be changed to 15 when T variation tendency, as shown in Figure 10.It can be seen that, At that time, Mean Time of Systemic Response T with increase decline than very fast, can further reduce T although being then further added by, Fall off rate is substantially reduced.
In Given task arrival rate, Mean Time of Systemic Response T with operand and wide area network transmission speed change Change situation, as shown in figure 11.As can be seen that system response time subtracts with network transfer speeds as imagining we The increase of small and operand and increase.
By above-mentioned simulation result, it can be seen that the model that this case provides is not only able to express the service process of TOC well, And can reveal that each parameter influences the rule of system response time in system, to provide solution party to improve system effectiveness Case.
Disclosed above is only several specific embodiments of the invention, but the present invention is not limited to this, any ability What the technical staff in domain can think variation should all fall into protection scope of the present invention.

Claims (4)

1. a kind of TOC (three value optical computers, Ternary Optical Computer) service model being lined up based on M/M/1 Service response time calculation method, which is characterized in that the TOC service model being lined up based on M/M/1, including client With the server as the exclusive node for completing user's calculating demand;User submits operation request by user end to server, Result is fed back to client again after completing operation by server;
The server includes operation request receiving module, data preprocessing module, task scheduling modules, processor distribution mould Block, processor hardware reconstructed module, processor module, decoder module and operation result sending module;Operation request receives mould After block receives the operation request of user's submission, data preprocessing module is sent it to;Data preprocessing module calculates operation The priority of request is simultaneously inserted into chained list to be dispatched;Task scheduling modules complete the scheduling of task in chained list, and task is sent To processor distribution module;Processor distribution module is according to the nonidentity operation point that distribution according to need principle is in being scheduled for task With optics processor resource;Meanwhile processor hardware reconstructed module completes optical processor according to the different calculating demand of user Reconstruct, and be that user completes operation with the processor module reconstructed, decoder module is decoded operation result, and will Operation result is sent to operation result sending module, and operation result is fed back to corresponding client by last operation result sending module End;
The calculation method of service response time of the TOC service model being lined up based on M/M/1 is specially:Different user can be with Concurrently submit operation request, when nonidentity operation request reaches will by waiting system be lined up, therefore based on M/M/1 queuing system and First Come First Served strategy establishes TOC service model;TOC provides the meter of the average response time T of the service of calculating for n operation request Calculating formula is:
T=TRA+TDPP+TRS+TRT (1)
Wherein TRAIndicate that operation request receiving module receives operation request required average time, TDPPIndicate to operation request into Average time needed for row pretreatment, TRSAverage time needed for indicating scheduler task, TRTIt indicates operation result being sent to use The average time at family;
The TRAIt is calculated as
Wherein λ indicates the number of tasks reached in the unit time, that is, operation request arrival rate, and μ indicates being averaged for each operation request Operand, ω indicate to receive the network transfer speeds of operation request;
The TDPPIt is calculated as
Wherein τ indicates that data preprocessing module carries out pre-treating speed to the data in operation request;The TRSIt is calculated as
Wherein θ indicates task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module and decoding The service speed of the waiting queue processed of device module composition;
The TRTIt is calculated as
(2), (3), (4) and (5) formula substitution (1) formula are obtained into service average response time T:
2. the calculation method of the service response time of the TOC service model according to claim 1 being lined up based on M/M/1, It is characterized in that, the average transmission rate that task scheduling modules send data to TOC is j, processor hardware reconstructed module is complete It is constant C at the processor distribution time1, the time that processor hardware reconstructed module completes optical processor reconstruct is constant C2, The processing speed of TOC is δ, then task scheduling modules, processor distribution module, processor hardware reconstructed module, processor module It can be acquired by following formula (7) with the service speed θ of the waiting queue processed of decoder module composition;And the formula (4) is to pass through Formula (7) obtains;
3. the calculation method of the service response time of the TOC service model according to claim 1 being lined up based on M/M/1, It is characterized in that, the TRSNot only include the task schedule time, further includes processor distribution time, processor reconstitution time, fortune Evaluation time and decoding time.
4. the calculation method of the service response time of the TOC service model according to claim 1 being lined up based on M/M/1, It is characterized in that, the n operation request reaches the exponential distribution for obeying that parameter is λ, transmitted data amount is μ/2, transmits data Required average time is the ω of μ/2, and the service speed that operation request number is received in the unit time is 2 ω/μ.
CN201510816067.7A 2015-11-20 2015-11-20 Calculation method based on the M/M/1 TOC service model being lined up and its service response time Active CN105610897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510816067.7A CN105610897B (en) 2015-11-20 2015-11-20 Calculation method based on the M/M/1 TOC service model being lined up and its service response time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510816067.7A CN105610897B (en) 2015-11-20 2015-11-20 Calculation method based on the M/M/1 TOC service model being lined up and its service response time

Publications (2)

Publication Number Publication Date
CN105610897A CN105610897A (en) 2016-05-25
CN105610897B true CN105610897B (en) 2018-11-20

Family

ID=55990431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510816067.7A Active CN105610897B (en) 2015-11-20 2015-11-20 Calculation method based on the M/M/1 TOC service model being lined up and its service response time

Country Status (1)

Country Link
CN (1) CN105610897B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572159B (en) * 2016-11-01 2019-08-13 阜阳师范学院 The operating method of the three value optical computer service response time based on complicated queuing system
CN110362457B (en) * 2019-05-08 2023-03-28 阜阳师范学院 Three-value optical computer performance evaluation method and system based on vacation queuing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112602A (en) * 1993-06-14 2000-09-05 New Jersey Institute Of Technology Analytical apparatus and instrumentation for on-line measurement of volatile organic compounds in fluids
CN103237072A (en) * 2013-04-22 2013-08-07 上海交通大学 User satisfaction perception-based service placement method for data centers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112602A (en) * 1993-06-14 2000-09-05 New Jersey Institute Of Technology Analytical apparatus and instrumentation for on-line measurement of volatile organic compounds in fluids
CN103237072A (en) * 2013-04-22 2013-08-07 上海交通大学 User satisfaction perception-based service placement method for data centers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三值光学计算机监控系统之任务管理及其理论研究;王先超;《中国博士学位论文全文数据库 信息科技辑》;20111015;第17-36页 *

Also Published As

Publication number Publication date
CN105610897A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN111866085B (en) Data storage method, system and device based on block chain
CN111165052B (en) Job processing in quantum computing enabled cloud environments
Jia et al. Improving the performance of distributed tensorflow with RDMA
CN108710535A (en) A kind of task scheduling system based on intelligent processor
Lu et al. Mrphi: An optimized mapreduce framework on intel xeon phi coprocessors
US20220043731A1 (en) Performance analysis
Li et al. Efficient online scheduling for coflow-aware machine learning clusters
CN109903178A (en) It is a kind of to determine the method, apparatus, system of social object jointly and calculate equipment
CN105610897B (en) Calculation method based on the M/M/1 TOC service model being lined up and its service response time
US20170371713A1 (en) Intelligent resource management system
Ahn et al. Soft memory box: A virtual shared memory framework for fast deep neural network training in distributed high performance computing
Zhang et al. A holistic approach to build real-time stream processing system with GPU
Ma et al. FPGA-based AI smart NICs for scalable distributed AI training systems
CN103733188A (en) Invalidating streams in operator graph
CN107679409A (en) A kind of acceleration method and system of data encryption
Wang et al. Performance analysis of a ternary optical computer based on M/M/1 queueing system
CN201274500Y (en) Parallel file transmission server group system based on MPI
CN111680791A (en) Communication method, device and system suitable for heterogeneous environment
CN106572159B (en) The operating method of the three value optical computer service response time based on complicated queuing system
CN110647399A (en) High-performance computing system and method based on artificial intelligence network
US10200310B2 (en) Fabric-integrated data pulling engine
Wang et al. Performance analysis and evaluation of ternary optical computer based on asynchronous multiple vacations
CN103632037A (en) Method for computing server average waiting time based on working vacation
Langer et al. Parallel branch-and-bound for two-stage stochastic integer optimization
Ramneek et al. FENCE: Fast, ExteNsible, and ConsolidatEd framework for intelligent big data processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 224000 7th floor, D2 building, Xinlong Plaza, No.38, Renmin South Road, Xindu street, Yannan high tech Zone, Yancheng City, Jiangsu Province

Patentee after: Yancheng Yannan high tech Zone Urban Industry Development Co.,Ltd.

Address before: 236000 Qinghe Road, Fuyang City, Fuyang, Anhui

Patentee before: FUYANG NORMAL College

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210902

Address after: 224000 Room 301, building B-10, big data Industrial Park, Xindu street, Chengnan New District, Yancheng City, Jiangsu Province (CND)

Patentee after: YANCHENG JINKUN ENERGY SAVING TECHNOLOGY Co.,Ltd.

Address before: 224000 7th floor, D2 building, Xinlong Plaza, No.38, Renmin South Road, Xindu street, Yannan high tech Zone, Yancheng City, Jiangsu Province

Patentee before: Yancheng Yannan high tech Zone Urban Industry Development Co.,Ltd.

TR01 Transfer of patent right