Multimedia storage today is mostly based on traditional (spinning) hard drives. Solid state drive (SSD) technology -- hard drives based on flash memory -- has existed for several years but does not yet offer large storage capacity per hardware unit. However, SSDs have unique technical characteristics which can be exploited for on-demand handling of rich multimedia content. This paper looks into this potential.
Can We Benefit from Solid State Drives in Rich Multimedia Content Processing, Storage and Streaming?
1.
2. .
.
The Big Picture: YALMS
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
2 /17
2/17
3. .
.
YALMS: Yet Another LMS
• feature:
input, processing, and delivery in equal shares 17
HTML5
Viewers
Step 1: Record and Stream
A
Creator
S
V
C
Screen
Record
Streaming
Step 2: Annotate
HTML5
Muxer
Content
Server
S
Lecturer
Autoannotate
17 M.Zhanikeev+1 "YALMS: Yet Another Lecture Management System..." IEICE・ET研 (July 2013)
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
3 /17
3/17
4. .
.
A Business Day at YALMS
screen and video streams uploaded by users 15
• many concurrent video annotation tasks (PDF + VIDEO) 16
• constantly changing popularity distribution of content, needs
dynamic relocations
• many
15 "YALMS Project Home" https://github.com/maratishe/yalms (June 2013)
16 "YALMS Annotation Robot (software behind this paper)" https://github.com/maratishe/yalms.annotation (September 2013)
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
4 /17
4/17
5. .
.
YALMS Topics
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
5 /17
5/17
6. .
.
YALMS: The Big SSD Question
.
The Question is
.
... can such a rich
multimedia architecture benefit from SSDs?
• WHY1: SSDs have properties
◦ read/write, random/sequential
• WHY2: SSDs are becoming
• WHY3:
different from those of HDDs
cheaper (MLC) so why not to use them?
parallel/multicore processing is not kind to HDDs but SSDs
can cope
• WHY4:
50Mbytes/s throughput is not enough any more
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
6 /17
6/17
7. .
.
Where Are We Now? Existing
Research
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
7 /17
7/17
8. .
.
Existing Research (1)
• roughly, two groups:
1.
SSD versus HDD research
• filesystem abstraction and scheduling -- load balancing between SSD and HDD 01
• SSD as cache memory 0203
2.
parallel processing and the multicore
• job graph partitioning 18
• local Big Data processing 19
• multicore streaming 11 -- 14
01 J.Kim+4 "Disk Schedulers for Solid State Drives" 7th ACM EMSOFT (2009)
02 S.Rizvi+1 "Flash SSD vs HDD: High Performance .... Multimedia Storage Systems" 2nd ICCET (2010)
03 Y.Lee+1 "Mapping granularity and performance tradeoffs for solid state drive" The Journal of Supercomputing (2013)
18 X.Sui+3 "Parallel Graph Partitioning on Multicore Architectures" 23rd LCPC (2010)
19 R.Chen+2 "Tiled-MapReduce: Optimizing Resource Usages of Data-parallel Applications on Multicore..." 19th PACT (2010)
11 Y.Wei+3 "Energy-Efficient Real-Time Scheduling of Multimedia Tasks on Multi-Core Processors" ACM SAC (2010)
14 V.Galiano+3 "SSD architecture such as multi-channel and multi-way" EURASIP Journal ... Signal Processing (2013)
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
8 /17
8/17
9. .
.
Existing Research: What is Missing?
.
In a Nutshell, Existing Research is...
.
• extremely specialized and is built for one application only
.
• ... or, in business, the use is
very primitive -- a temporary memory buffer
• ... at the same time.. YALMS needs
◦ one design fits all
generic load balancing
• changes along the timeline should cause changes --
dynamic optimization
• ...
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
9 /17
9/17
10. .
.
The YALMS.hiperf project
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
10 /17
10/17
11. .
.
Meet the YALMLS.hiperf Project
pool of SSDs,
HDDs, etc.
• a
Manage
Cores
Cores
Cores
• a separate pool of
Viewers
Multimedia
System
Creators
M.Zhanikeev -- maratishe@gmail.com
SSDs
HDDs
HDDs
CPU cores
• steady arrival and
departure rates of
HDDs
HDDs
HDDs
tasks/processes
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
11 /17
11/17
12. .
.
YALMS.hiperf : The Overall Design
A Multimedia System
YALMS
.hiperf
Robot
Process
Process
Process
Process
Process
Process
Process
Req
(details)
YALMS.hiperf
Agents
Agents
Agents
Agents
Agents
SSDs
HDD
SSDs
HDD
SSDs
HDD
SSDs
HDD
SSDs
HDDs
SSDs
M.Zhanikeev -- maratishe@gmail.com
• a
Rep
(agent)
firmware approach
• tasks/processes send
•
requests
replies point to agents
….
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
12 /17
12/17
13. .
.
YALMS.hiperf : The Basic Unit
Multicore
Input
Processing
logic
Fork
parallel
processing
• traditional
Read/write?
Seq./rand.?
(Chunk) size
formulation
Next
step
ENGINE
SSD
HiPerf/Normal?
Longer plans?
HDD
Join
•
engine performs
runtime
optimization
…
• tasks are assigned
Network
storage
classes
01 J.Kim+4 "Disk Schedulers for Solid State Drives" 7th ACM EMSOFT (2009)
02 S.Rizvi+1 "Flash SSD vs HDD: High Performance .... Multimedia Storage Systems" 2nd ICCET (2010)
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
13 /17
13/17
14. .
.
YALMS.hiperf : Runtime Optimization
.
Basic Formulation
.
start from zero, collect
optimize accordingly
.
history, then
• tasks should naturally have the
few
heavy hitters distribution
◦ if not, tasks should be partitioned
• then simply
minimize
∑ ∑
lagi,j
(1)
i∈tasks j∈time
• ... details in future publications
03 Y.Lee+1 "Mapping granularity and performance tradeoffs for solid state drive" The Journal of Supercomputing (2013)
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
14 /17
14/17
16. .
.
How Far is The Project?
• software for multicore video
◦ mostly reads, very few writes
• currently working on the
VLC
ffmpeg
screen
video
annotation on top of SSD
generic version of software, will release soon
scenes
cleanup
I-Frames
I-Frames
End product
slices
ANNOTATION
LaTeX/Beamer
Keynote
PowerPoint
…
Slides
PDF
M.Zhanikeev -- maratishe@gmail.com
split
timestamps
PNGs
pdf2png
pages
PNGs
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
16 /17
16/17
17. .
.
That’s all, thank you ...
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
17 /17
17/17
18. .
.
[01] J.Kim+4 (2009)
Disk Schedulers for Solid State Drives
7th ACM EMSOFT
[02] S.Rizvi+1 (2010)
Flash SSD vs HDD: High Performance .... Multimedia Storage Systems
2nd ICCET
[03] Y.Lee+1 (2013)
Mapping granularity and performance tradeoffs for solid state drive
The Journal of Supercomputing
[04]
(2012)
Data Compression in the Intel Solid-State Drive 520 Series
Intel Technology Brief
[05]
(2013)
Cisco Content Delivery Engine 250
Cisco Data Sheet
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
17 /17
17/17
19. .
.
[06] B.Sajadi+3 (2011)
...SSDs for Large-Scale Interactive Graphics Applications
Symp. on 3D Graphics and Games (I3D)
[07] D.Zhao+1 (2013)
HyCache: a User-Level Caching Middleware for Distributed File Systems
ACM HPDC
[08] M.Ryu+2 (2011)
Impact of Flash Memory on Video-on-Demand Storage: Analysis of Tradeoffs
2nd ACM MMSys
[09]
(2013)
Performance ... On Demand
Concurrent Computer Corporation (STEC), Case Study
[10] M.Ryu+2 (2012)
Why ...flash-based multi-tiered storage systems performing poorly for HTTP video
streaming?
22nd NOSSDAV
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
17 /17
17/17
20. .
.
[11] Y.Wei+3 (2010)
Energy-Efficient Real-Time Scheduling of Multimedia Tasks on Multi-Core
Processors
ACM SAC
[12] S.Sankaraiah+3 (2011)
GOP Level Parallelism on H.264 Video Encoder for Multicore Architecture
IPCSIT
[13] T.Dias+2 (2010)
H.264/AVC framework for multi-core embedded video encoders
SoC
[14] V.Galiano+3 (2013)
SSD architecture such as multi-channel and multi-way
EURASIP Journal ... Signal Processing
[15]
(June 2013)
YALMS Project Home
https://github.com/maratishe/yalms
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
17 /17
17/17
21. .
.
[16]
(September 2013)
YALMS Annotation Robot (software behind this paper)
https://github.com/maratishe/yalms.annotation
[17] M.Zhanikeev+1 (July 2013)
YALMS: Yet Another Lecture Management System...
IEICE・ET研
[18] X.Sui+3 (2010)
Parallel Graph Partitioning on Multicore Architectures
23rd LCPC
[19] R.Chen+2 (2010)
Tiled-MapReduce: Optimizing Resource Usages of Data-parallel Applications on
Multicore...
19th PACT
M.Zhanikeev -- maratishe@gmail.com
Can We Benefit from SSDs in Rich Multimedia...? -- http://tinyurl.com/kyutech131024
17 /17
17/17