Open-Channel SSDs
Matjas Bjørling LinuxCon North America 2015
1
Open-Channel SSDs Matjas Bjrling LinuxCon North America 2015 1 - - PowerPoint PPT Presentation
Open-Channel SSDs Matjas Bjrling LinuxCon North America 2015 1 Solid State Drives H i g h T h r o u g h p u t + L o w L a t e n c y P a r a l l e l i s m + C o n t r o l l e r Why Open-Channel
1
H i g h T h r
g h p u t + L
L a t e n c y P a r a l l e l i s m + C
t r
l e r
3
D e a l i n g w i t h fm a s h c h i p c
s t r a i n s i s a n e c e s s i t y N
a y a r
n d t h e F l a s h T r a n s l a t i
L a y e r ( F T L ) E m b e d d e d F T L s e n a b l e d w i d e S S D a d
t i
s p . f
C l i e n t c
p u t i n g : C l i e n t : s i n g l e h
t , s i n g l e S S D , l
I / O e ffj c i e n c y , w i d e v a r i e t y
a p p l i c a t i
s S e r v e r s y s t e m s h a v e a m u c h d i fg e r e n t p r
l e : S e r v e r : m u l t i
t , m u l t i
S D , h i g h I / O e ffj c i e n c y , l i m i t e d #
a p p l i c a t i
s
F l a s h I n t e r f a c e B l
k I / O
4
E m b e d d e d F T L ’ s i n t r
u c e s i g n i fj c a n t l i m i t a t i
s f
S e r v e r c
p u t e : H a r d w i r e d e s i g n d e c i s i
s a b
t d a t a p l a c e m e n t ,
e r
r
i s i
i n g , s c h e d u l i n g , g a r b a g e c
l e c t i
, a n d w e a r l e v e l i n g . D e s i g n e d
m
e
l e s s e x p l i c i t a s s u m p t i
s a b
t t h e a p p l i c a t i
w
k l
d . I n t r
u c e s r e d u n d a n c i e s , m i s s e d
t i m i z a t i
s , a n d u n d e r u t i l i z a t i
r e s
r c e s .
5
L i m i t e d n u m b e r
S S D s i n t h e m a r k e t w i t h e m b e d d e d F T L s f
s p e c i fj c : Wo r k l
d s ( e . g . , 9 % r e a d s ) A p p l i c a t i
s ( e . g . , S Q L S e r v e r , K e y
a l u e s t
e s ) C
t a n d l a c k
fm e x i b i l i t y f
t h e s e “ h a r d
i r e d ” s
u t i
s i s p r
i b i t i v e : Wh a t i f t h e w
k l
d c h a n g e s ( a t r u n
i m e ) ? Wh a t a b
t n e w w
k l
d s ? A n d n e w a p p l i c a t i
s ?
p e n
h a n n e l S S D s s h a r e c
t r
r e s p
s i b i l i t i e s w i t h t h e H
t i n
d e r t
m p l e m e n t a n d m a i n t a i n f e a t u r e s t h a t t y p i c a l S S D s i m p l e m e n t s t r i c t l y i n t h e d e v i c e fj r m w a r e
D e v i c e i n f
m a t i
:
S D
d e n g i n e s & r e s p
s i b i l i t i e s
S D g e
e t r y
A N D m e d i a
h a n n e l s , t i m i n g s , e t c .
a d b l
k s l i s t
C C
5
H
t m a n a g e s :
a t a p l a c e m e n t
/ O S c h e d u l i n g
v e r
r
i s i
i n g
a r b a g e C
l e c t i
a r
e v e l i n g
7
T a r g e t s
x p
e s p h y s i c a l m e d i a t
s e r
p a c e B l
k M a n a g e r s
a n a g e s p h y s i c a l S S D c h a r a c t e r i s t i c s O p e n
h a n n e l S S D
e s p
s i b i l i t y
ffm
d e n g i n e s
8
1 .T a r g e t a c r
s S S D s 2 .G l
a l G a r b a g e C
l e c t i
3 .S i n g l e A d d r e s s S p a c e B M s e x p
e a g e n e r i c i n t e r f a c e S S D V e n d
g n
t i c

IOPS Time
1
Component Descriptjon Natjve Latency(us) LightNVM Latency(us) Read Write Read Write Kernel and fjo
Submission and completjon (4K) 1.18 1.21 1.34 (+0.16) 1.44 (+0.23) Completjon tjme for devices High-performance SSD 10us (2%) Null NVMe hardware device 35us (0.07%) Common SSD 100us (0.002%)
S S D : E C C , T r a n s l a t i
& B a d b l
k t a b l e m e t a d a t a
d e d t
e v i c e .

SSDs to abstract the hardware
manipulatjng persistent data
latency, resource utjlizatjon, and data movement (compared to the best- efgort techniques today)
2 . Wh a t i s t h e r
e
t h e O S i n t h i s a r c h i t e c t u r e ? 3 . H
c a n w e h i d e N A N D m e d i a c
p l e x i t y f r
t h e a p p l i c a t i
( a n d t h e O S ) ? 1 . H
d
e s u p p
t a p p l i c a t i
s t h a t b e n e fj t f r
c u s t
F T L s ?
P r
y p e i n p r
r e s s
T a l k t
a v i e r G
z a l e z i f y
w a n t t
n
m
e


16