stefspa
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Hyrise Paper Related Work Describe different ways for support of LGTMDM - Some in memory dbms implemented ways to distinguish tuples as either hot or cold, Hot stay in memory, cold are stored on secondary devices - anti caching for h-store tracked accesses per-tuple and classifying lru tuples as cold - siberia classifies tuples using a tuple access log - hyPer hardware asssisted access tracking for separation of tuples using processors memory management unit - SAP Hana attempt to enable block-wise access to coloumnar data - swapping = mmap - buffer pool with pointer swizzling Graefe and lean store - refers to replacing a reference to a persistent unique object identifier with a direct reference to the in memory image of that object. - eliminates most buffer pool overheads - - some did it using memory mapping of files - see list of viktor leis - - this is discussed Taditional db need buffer manager to retrieve data from disc to process it. (W. Effelsberg and T. H¨arder, “Principles of Database buffer management,” ACM Trans. Database Syst., vol. 9, no. 4, 1984.) In memory db do not need a buffer manager as the entire db fits into main memory. leanstore paper shows worse performance Content bis Montag draft: - Benchmark Setup - Related work ### Deprecated <details> <summary>Old story </summary> Story: wollen persistenz in hyrise related work (mmap paper kommen da rein) andere nutzen mmap aber daran gibt es folgende kritik wir haben primär read workload haben keine transaktionsschwierigkeiten nicht unsere eigenen implementierungen ergeben messergebnisse wie folgt unsere implementierung - desginentscheidungen und warum da diskussion ![](https://i.imgur.com/32zNnny.png) </details> <details> <summary>Old story long</summary> ## Ausführlicher Content ### Abstract N/A ### Introduction - Larger than memory DB - Hyrise Context - Forschungsfragen und Ziel - Write: Folienstory verschriftlichen ### Background - Larger than memory data managment - I/O Methoden - Unix Methoden - mmap - Wer hat sich schon mit mmap beschäftigt - Debatte um mmap - async I/O - Hyrise (See Papers from FG) ### Persistence for Hyrise Hauptteil -> Hier beschreiben wir - methodenauswahl - benchmark setup - mögliche implementationsstellen in Hyrise #### Welche Methode - unser read lastiger use-case - entkräften der contra mmap punkte - conclusion auf mmap mit Abwägung #### Verifizierung der Anwendbarkeit mit eigenener Implementierung - Benchmark Setup - Benchmark resultate - evtl fio (?) für mehr Context? #### Implementierung - Änderungen an Hyrise - Auswirkungen - Verifikation des Erfolgs mit TPC-H ### Diskussion - Kritik an der Implementierung - Further Work to be done ### Related Work - umbra, ...? - paper discussing larger than memory managment implementation - MMAP Extensions/New Implementations: UMAP, VMCache ... () - MMAP Alternatives - DI-MMAP, FastMap, FlashMap, Kmmap, Aquila, UMap, CO-PAGER ### Conclusion - ??? Theresa Feedback: Problem Forschungsfrage - was sind Probleme mit MMAP und Benchmarks, die diese Probleme zeigen (Beweis, das MMAP nachteile bei uns nicht applyen - schwachstellen von mmap testen mi tbenchmarks) - overleaf setup Wie effizient können wir mmap bei uns implementiert bekommen - können wi rmmap nachteile mitigieren - benchmarks anpassen um das zu testen TODO Einleitung - s Zwischenpräsentation - hyrise Related Work - - mmap kritik Methodenbeschreibung </details> ### Benchmark Setup #### Machine - RAID von zwei Micron 7450 MTFDKCC3T8TFR NVMe SSDs - measurements on a machine with two AMD EPYC 7F72 CPU s, each with 24 physical cores, 48 threads, a 192 MB shared L3 cache, and 256 GB of DDR4 memory with a theoretical per-socket memory bandwidth of 204.8 GB/s (von Bens Masterarbeit) - runs Ubuntu 22.04 ? - which Linux Kernel version ? - How do we compile hyrise? (which gcc version) #### Benchmark Parameters - thread count {1, 2, 4, 8, 16, 32, 48} - threads are started synchronously and then joined - even initial work distribution - Filesize (1GB) (? - GiB or GB?) - read, pread, libaio, mmap (private, shared), umap (private, shared) - sequential / random (? sollten wir random nennen?) - #### Benchmark Workflow - Google Benchmark defines how many iterations (?) - each benchmark we create random nums to reach filesize -> Jan hat das geändert, sodass wir momentan immer sie selben Zahlen nutzen (ノಠ益ಠ)ノ彡┻━┻ - calculate checksum - write these to disk - if random, we generate random indizes to access all generated nums in random pattern - use method sys call method/mmap/umap to read - calculate checksum of read file and compare to previously calculated checksum - mmap/umap by reading values already calculates checksum - google benchmark returns cpu and real time - calculate throughput based on real_time and filesize ## Ausführlicher Content Forschungsfrage: Wie larger than memory database management for hyrise? ### Abstract N/A ### Introduction - Larger than memory DBM - Warum bisher nicht Möglich für Hyrsie? Warum Thema? - Hyrise Context - memory mapping als erste möglichkeit - mmap contra von leis - Forschungsfragen und Ziel - mmap wirklich so schlimm - wie hyrise LGTMDBM ### Background - Larger than memory data managment - I/O Methoden - Unix Methoden - mmap - Wer hat sich schon mit mmap beschäftigt - Debatte um mmap - async I/O - Hyrise (See Papers from FG) - table format - chunk architecture - research db ### Related Work - Viktor Leis mmap detailliert - umbra, ...? - paper discussing larger than memory managment implementation - MMAP Extensions/New Implementations: UMAP, VMCache ... () - MMAP Alternatives - DI-MMAP, FastMap, FlashMap, Kmmap, Aquila, UMap, CO-PAGER ### Persistence for Hyrise Hauptteil -> Hier beschreiben wir - was gibt es neben mmap - wie steht mmap da, was potentieller verlust? - benchmark setup - mögliche implementationsstellen in Hyrise #### Welche Methode - unser read lastiger use-case - entkräften der contra mmap punkte - conclusion auf mmap mit Abwägung #### Tatsächliche Tradeoffs mit eigenener Implementierung - Benchmark Setup - Benchmark resultate - evtl fio (?) für mehr Context? #### Implementierung - Änderungen an Hyrise - Auswirkungen - Verifikation des Erfolgs mit TPC-H ### Diskussion - Kritik an der Implementierung - Further Work to be done ### Conclusion - ??? # Neustes Feedback - LGTMDB → wie kommen wir dahin auf Hyrise - warum geht es bisher nicht? - x müssen wir in hyrise machen - mmap eins der leichtesten wege - memory mappen - pavlo meint is kacke, was ist osnst bekannt über mmap RELATED WORK - unser eingeschränkter usecase - wie stellen sich io methoden gegenüber, was verlieren wir mit mmap - nicht alles verglichen und dann mmap gewählt - eher: wie schlimm ist mmap wirklich - mmap kritik paper eher in introduction, kann auch wiede rins related work

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully