Specification and management of QoS in real-time databases s(5)
comparedtomO
r,mdeissettoalowvaluerelativetomder.AsmOMAincreases,mdeisincreased,buttoamaximumvalueofmderÂðMpþ100ÞsinceafurtherincreaseviolatesthegivenQoSspecification.TheoutlineofPC-MPisgiveninFig.2b.
IEEETRANSACTIONSONCOMPUTERS,VOL.55,NO.3,MARCH
2006
PC-ATEHEFandPC-ATEHEDF.ThesealgorithmsaretwovariantsofPC-MP,butwhereQoTismeasuredintermsofate,insteadofmO.Hence,wereplacethemisspercentagecontrolloopsforasingleaveragetransactionerrorcontrolloop.Here,mdeisadjustedbasedonthecontrolsignal lERandthemovingaverageofate,denotedateMAðkÞ.WedonotprovidefullalgorithmdescriptionsforPC-ATEHEFandPC-ATEHEDF,butreferinsteadtoFig.2b,wheremOMAisreplacedwithateMA.
TheprecisionofthedataiscontrolledbytheQoDmanagerbysettingmdedependingonthesystembehavior.Whenfisusedtocomputemdeðkþ1Þbasedon lERðkÞ,thefollowingschemeisused:DiscardinganupdateresultsinadecreaseinCPUload,whichwerefertoasthegainedload.Let
glðkÞ¼1
XTeeti
Ti
2discardedðkÞ
bethesumoftheestimatedexecutiontimeofthediscardedupdatetransactionsdividedbythesamplingperiodT,wherediscardedðkÞisthesetofdiscardedupdatetransac-tionsandeetiistheestimatedexecutiontimeoftheupdatetransactionTi.Inourapproach,weprofilethesystemandmeasureglforvaryingmdeandlinearizetherelationshipbetweenthem.Duringeachmonitoredand ðkÞ¼mdeðkÞ
samplingperiod,glðkÞis
kÞarecomputed.Consequently,anditsmovingaverageMAðtherelationbetweenmdeandglisupdatedtocapturethecurrentstateofthesystem.Havingtherelationshipbetweenglandmde,weintroducethehelpfunction,
hð lERðkÞÞ¼minð MAðkÞÂðglðkÞÀ lERðkÞÞ;
mderÂðMpþ100ÞÁ
:
SincemdeisnotallowedtoovershootmorethanmderÂðMpþ100Þ,weusetheminoperatortoenforcethisrequirement.Further,sincemdebydefinitioncannotbelessthanzero,weapplythemaxoperatoronhandobtainmdeðkþ1Þ¼fð lERðkÞÞ¼maxðhð lERðkÞÞ;0Þ.
4.6SystemModeling
Totunefeedbackcontrollersthatareefficientinmanagingthedesiredperformanceandthatreactrapidlytochangesinworkload,itisnecessarytohaveamodelthataccuratelydescribesthebehaviorofthecontrolledsystem[14].Theparticularformofthemodelsweconstruct,i.e.,linearmodels,enablesustouseasetofpowerfulanalyticalmethodsthatareavailableincontroltheory,e.g.,rootlocus[14].Foranalysispurposes,weapplytheprinciplesofZ-transformtheory[14].UsingZ-transformsenablesustoreducethecomplexityoflargedynamicsystemsintothesimplerrepresentationbyZ-transforms.Further,Z-transformsareusedinmanycontrollertuningprocedures,e.g.,rootlocus[14].Weadoptthefollowingnotation,whereAðzÞdenotestheZ-transformofthevariableaðkÞ.Thegoalistoderiveatransferfunctiondescribingtherelationbetweenthemanipulatedvariable,i.e.,ÁLERðzÞ,andthecontrolledvariables,i.e.,MMðzÞ,MOðzÞ,ATEðzÞ,andUðzÞ.Inthissection,wefirstpresenttheSTAmodel,previouslypresented[11],wheresomedynamicrelationsareapproximatedbystaticrelations(hence,thenameSTAreferringtoThen,wepropose
Abstract—Real-time applications such as e-commerce, flight control, chemical and nuclear control, and telecommunication are becoming increasingly sophisticated in their data needs, resulting in greater demands for real-time data services that are provided
AMIRIJOOETAL.:SPECIFICATIONANDMANAGEMENTOFQOSINREAL-TIMEDATABASESSUPPORTINGIMPRECISECOMPUTATIONS311
anewmodel,calledDYN,whichgeneralizestheSTAmodel[11]bycapturingadditionalsystemdynamics(thenameDYNrefersto4.6.1STA
TheestimatedrequestedworkloadofadmittedusertransactionslERinthenextsamplingperiodischangedthroughthemanipulatedvariable lER,givenby
lERðkþ1Þ¼lERðkÞþ lERðkÞ:
ð1Þ
Hence,lERistheintegrationofthecontrolinput lER.Now,theestimatedadmittedworkloadofusertransactionslEmaydifferfromlERsinceexternalloadappliedonthedatabasemaynotbesufficienttosatisfylERortheadmittedworkloadisdecreasedduetodeadlinemissesand,consequently,earlyterminationoftransactions.Here,however,weapproximatetheestimatedloadofadmittedtransactionsbylER,i.e.,lE¼lER(inDYN,wetakeadifferentapproach).
Theactualworkload,denotedlAðkÞ,maydifferfromlEðkÞduetoincompleteknowledgeaboutthecontrolledsystem,e.g.,unknownexecutiontimesofthetransactionsanddataconflicts.Therefore,wegetlAðkÞ¼gAðkÞlEðkÞ,wheretheworkloadratiogAðkÞrepresentstheworkloadvariationintermsofactualtotalrequestedworkload.Forexample,gAðkÞequaltotwomeansthattheactualworkloadistwicetheestimatedworkload.Itis3obviousthatgAðkÞcannotbedeterministicallymodeled.However,byprofil-ingthecontrolledsystem,wecancomputegAðkÞforeachsamplingandformtheaverageofgAðkÞ,denotedgA,whichisthenusedinourmodeltodescribetherelationbetweenlEandlAintheaveragecase,i.e.,
lAðkÞ¼gAlEðkÞ:
ð2Þ
TherelationshipbetweentheactualworkloadlAandthe
utilizationuisnonlinearduetosaturation,asgivenbythefollowing:
uðkÞ¼&
lAðkÞ;lAðkÞ 100%
100%;lAðkÞ>100%:ð3Þ
WhenlAðkÞislessthanorequalto100percent,i.e.,theCPUisunderutilized,uðkÞisoutsideitssaturationzoneandequalslAðkÞ.However,whenuðkÞiswithinitssaturationzone,i.e.,lAðkÞisgreaterthan100percent,thenuðkÞremainsat100percent,despitechangestolA.
Fromclassicalschedulingtheory,itispossibletodeterminewhetherasetoftaskscanbescheduledsuchthatnodeadlinemissesoccur[8].Turningtothecaseofthemisspercentages,wedefinetheschedulablethresholdformandatorysubtransactions,denotedlMt …… 此处隐藏:4752字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [教育文库]夜场KTV服务员的岗位职责及工作流程[1]
- [教育文库]企划、网络、市场绩效考核方案
- [教育文库]学党史、知党情、强党性--“党的基本理
- [教育文库]2016年高考物理大一轮总复习(江苏专版
- [教育文库]干部廉洁自律自查自纠的报告
- [教育文库]2010年北京大学心理学系拟录取硕士研究
- [教育文库]资金时间价值练习题及答案
- [教育文库]保护环境的心得体会
- [教育文库]英语角内容:英语趣味小知识
- [教育文库]档案收集与管理工作通知
- [教育文库]劳动规章制度范本范本
- [教育文库]高考物理一轮复习课后限时作业1运动的
- [教育文库]机械工艺夹具毕业设计195推动架设计说
- [教育文库]通用技术教学比赛说课稿2
- [教育文库]2018年四年级英语下册 Module 7 Unit 2
- [教育文库]第2章 宽带IP网络的体系结构
- [教育文库]九年级化学第五单元课题3《根据化学方
- [教育文库]小学英语六年级情态动词用法归纳
- [教育文库]甲级单位编制窑井盖项目可行性报告(立
- [教育文库]2016-2021年中国城市规划行业全景调研
- 高考英语听力十大场景词汇总结
- 全省领导班子思想政治建设座谈会会议精
- 人教版新课标高一英语提优竞赛试题 下
- 江西省2014年生物中考试题
- 长沙镇食品药品安全事故应急预案
- 《金刚石、石墨和C60》片段教学设计
- 福州教育学院(王旭东)
- 基于EDA音乐播放器的设计
- 9、古诗两首《夜书所见》《九月九日忆
- 小学语文课外阅读有效策略探讨
- 贵州文化产业发展成支柱产业的问卷调查
- 膀胱类癌的诊治体会(附3例报告)
- 发动机积碳产生的原因
- Configuring Code Composer Studio for
- 学生良好的心理素质如何培养点滴谈
- 46 电沉积法制备锂离子电池用硅-锂薄膜
- 美舍雅阁公司管理中各部门职责
- 去壳剥皮的小妙招
- 六自由度运动平台的仿真研究
- Pride and Prejudice(傲慢与偏见)




