Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about Hybrid FTL #32

Open
SAM-ZY-2019 opened this issue Oct 19, 2019 · 0 comments
Open

Questions about Hybrid FTL #32

SAM-ZY-2019 opened this issue Oct 19, 2019 · 0 comments

Comments

@SAM-ZY-2019
Copy link

The hybrid FTL doesn't work properly. I wrote a write amount count monitor to print out in-byte writes of host and SSD.

PAGE_LEVEL FTL:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=930493 LBAs. (512 bytes/sector)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=58155.8 LPAs. (8192 bytes/page)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=476412416 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  WriteAmount=7622598656 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  Page_Capacity=8192 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  WriteAmount=930493 PPAs. (8192 bytes/page)
Flow Host.IO_Flow.Synth.No_0 - total requests generated: 930493 total requests serviced:930493
WAF is around 16, which make sense.

HYBRID FTL MODE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=2 LBAs. (512 bytes/sector)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=0.125 LPAs. (8192 bytes/page)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Host: WriteAmount=0 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  WriteAmount=0 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  Page_Capacity=8192 bytes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSD:  WriteAmount=0 PPAs. (8192 bytes/page)
Flow Host.IO_Flow.Synth.No_0 - total requests generated: 2 total requests serviced:0

I even tried the original MQSim's sample traces, as long as I set the SSD to hybrid FTL mode, it doesn't write PPAs at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant