RPS Notes and RPSREMOS Relational Schema - PowerPoint PPT Presentation

About This Presentation
Title:

RPS Notes and RPSREMOS Relational Schema

Description:

Extensible toolkit for implementing resource signal prediction systems. Easy 'buy-in' for users ... Incorporated in CMU Remos, BBN QuO ... blob(executable) ... – PowerPoint PPT presentation

Number of Views:59
Avg rating:3.0/5.0
Slides: 10
Provided by: petera45
Category:

less

Transcript and Presenter's Notes

Title: RPS Notes and RPSREMOS Relational Schema


1
RPS Notes and RPS/REMOS Relational Schema
  • Peter A. Dinda

2
RPS Toolkit
  • Extensible toolkit for implementing resource
    signal prediction systems
  • Easy buy-in for users
  • C and sockets (no threads)
  • Prebuilt prediction components
  • Libraries (sensors, time series, communication)
  • Users have bought in
  • Incorporated in CMU Remos, BBN QuO
  • Various research users

http//www.cs.northwestern.edu/pdinda/RPS.html
3
Conceptual Model of an RPS-based System
RPS components can be composed in other ways
4
Common Configuration
5
Queries and Data Models for Prediction and
MeasurementIn RPS and Remos
  • Peter A. Dinda
  • Remos Meeting 3/9/99

6
Measurement/Prediction Queries
  • Where can I find a load measurement stream for
    the host firenze?
  • sourcetcpfirenze5000, sourceudp239.99.99.995
    000
  • Give me the latest prediction server
    implementation for ALPHA DUX 3.2
  • blob(executable)
  • Where can I find a prediction buffer for the
    underlying load measurement stream firenze?
  • requestresponsetcppyramid8193

7
Resource Queries
  • I need 1 to 4 machines, all the same OS and
    arch, with a combined memory of 1 GB
  • (mojave),(sahara),((poconos,pyramid,foo),(manch1,2
    ,3,4), etc)
  • ...

8
Database Schema
benchmarks
BT
numproc
mhz
arch
os
osv
mem
vmem
dasd
perf
perfblob
note
UR
hostdata
ip
numproc
mhz
arch
os
osv
mem
vmem
dasd
loc
user
note
UR
hosts
modules
ip
name
mid
mt
dsid
note
datasources
moduleexecs
dsid
dst
mt
arch
os
minosv
ver
execblob
note
UR
flowssources
endpoints
dsid
ip1
ip2
mid
epid
nodesource
endpointdata
dsid
ip
epid
ct
ip
port
fn
note
UR
9
Query Example
pdinda_at_firenze find_hosts_mem.pl find_hosts_m
em.pl minmem maxmem minnum maxnum limit
samearchos pdinda_at_firenze
find_hosts_mem.pl 512 1024 1 3 5 1 Host
solutions select host1.name, hd1.arch, hd1.os,
hd1.mem as TotalMem from hosts as host1,
hostdata as hd1 where host1.iphd1.ip and
hd1.mem gt 512 and hd1.mem lt 1024 order by
TotalMem desc limit 5 -------------------------
--------------------- name
arch os TotalMem ----------------------
------------------------ mojave.cmcl.cs.cmu.
edu ALPHA DUX 1024.00
sahara.cmcl.cs.cmu.edu ALPHA DUX 1024.00
--------------------------------------------
-- 2 Host solutions select host1.name,
hd1.arch, hd1.os, host2.name, hd2.arch, hd2.os,
hd1.mem hd2.mem as TotalMem from hosts as
host1, hostdata as hd1, hosts as host2, hostdata
as hd2 where host1.iphd1.ip and
host2.iphd2.ip and hd1.mem hd2.mem gt 512
and hd1.mem hd2.mem lt 1024 and host1.ip !
host2.ip order by TotalMem desc limit
5 --------------------------------------------
-----------------------------------------------
- name arch os
name arch os
TotalMem ------------------------------------
----------------------------------------------
---------- poconos.cmcl.cs.cmu.edu ALPHA
DUX firenze.cmcl.cs.cmu.edu I386 LINUX
512.00 poconos.cmcl.cs.cmu.edu ALPHA
DUX INNUENDO.TRUST.CS.CMU.EDU I386
LINUX 512.00 poconos.cmcl.cs.cmu.edu
ALPHA DUX pyramid.cmcl.cs.cmu.edu ALPHA
DUX 512.00 firenze.cmcl.cs.cmu.edu
I386 LINUX poconos.cmcl.cs.cmu.edu
ALPHA DUX 512.00 INNUENDO.TRUST.CS.CMU
.EDU I386 LINUX poconos.cmcl.cs.cmu.edu
ALPHA DUX 512.00 --------------------
-----------------------------------------------
------------------------- 3 Host
solutions select host1.name, hd1.arch, hd1.os,
host2.name, hd2.arch, hd2.os, host3.name,
hd3.arch, hd3.os, hd1.mem hd2.mem hd3.mem as
TotalMem from hosts as host1, hostdata as hd1,
hosts as host2, hostdata as hd2, hosts as host3,
hostdata as hd3 where host1.iphd1.ip and
host2.iphd2.ip and host3.iphd3.ip and hd1.mem
hd2.mem hd3.mem gt 512 and hd1.mem
hd2.mem hd3.mem lt 1024 and host1.ip !
host2.ip and host1.ip ! host3.ip and
host2.ip ! host3.ip order by TotalMem desc
limit 5 ---------------------------------------
----------------------------------------------
-----------------------------------------------
name arch os
name arch os name
arch os TotalMem
--------------------------------------------
-----------------------------------------------
-----------------------------------------
poconos.cmcl.cs.cmu.edu ALPHA DUX
INNUENDO.TRUST.CS.CMU.EDU I386 LINUX
firenze.cmcl.cs.cmu.edu I386 LINUX
640.00 poconos.cmcl.cs.cmu.edu ALPHA
DUX pyramid.cmcl.cs.cmu.edu ALPHA DUX
firenze.cmcl.cs.cmu.edu I386 LINUX
640.00 INNUENDO.TRUST.CS.CMU.EDU I386
LINUX poconos.cmcl.cs.cmu.edu ALPHA DUX
firenze.cmcl.cs.cmu.edu I386 LINUX
640.00 pyramid.cmcl.cs.cmu.edu ALPHA
DUX poconos.cmcl.cs.cmu.edu ALPHA DUX
firenze.cmcl.cs.cmu.edu I386 LINUX
640.00 poconos.cmcl.cs.cmu.edu ALPHA
DUX firenze.cmcl.cs.cmu.edu I386 LINUX
INNUENDO.TRUST.CS.CMU.EDU I386 LINUX
640.00 --------------------------------------
----------------------------------------------
-----------------------------------------------
-
Write a Comment
User Comments (0)
About PowerShow.com