Skip to content

Developers using FileStream find it to be high performance and robust #40359

Closed

Description

@benaadams

(Note .CopyToAsync is pretty good; for certain combinations of flags)

P0

P1

P2

Moved to Future

Rosyln has their own workarounds for FileStream issues; and NuGet recently moved to mmap for better performance NuGet/NuGet.Client#3524

Edit by carlossanlop: To focus on the Async/Sync improvements, I'm removing 3 issues from the list that are separate from that topic.
_Edit by @adamsitnik: Proiorities

Activity

  1. added
    tenet-performance
    on Aug 5, 2020
  2. added
    untriaged
    on Aug 5, 2020
  3. danmoseley commented on Aug 5, 2020

    @danmoseley
    Contributor

    Thanks for collecting these into an “epic” 🙂 This is a candidate for some code debt work before 6.0 feature work starts.

  4. added this to the Future milestone on Aug 6, 2020
  5. removed
    untriaged
    on Aug 7, 2020
  6. danmoseley commented on Aug 19, 2020

    @danmoseley
    Contributor

    @JeremyKuhne you've been a vocal advocate of improving FileStream in the past. Is there anything you want to add to this meta-issue?

  7. added
    Epic
    on Oct 9, 2020
  8. carlossanlop commented on Oct 16, 2020

    @carlossanlop
    Contributor

    Thank you @benadams for compiling the list.

    May I suggest to focus this epic specifically for improving sync/async in FileStream, which seems to be the main topic of most of those issues? If agreed, then these issues can be removed from the epic and addressed separately:

  9. added
    tracking
    and removed
    Epic
    on Oct 22, 2020
  10. jeffhandley commented on Oct 22, 2020

    @jeffhandley
    Member

    @stephentoub What do you think about #8307, #29173, and #28444 -- do you think those are standalone enough to treat separately from the bigger collection of issues? If so, we can go ahead and get started on those soon.

  11. stephentoub commented on Oct 23, 2020

    @stephentoub
    Member

    do you think those are standalone enough to treat separately from the bigger collection of issues?

    Yes

  12. added
    Bottom Up Work
    User Story
    on Nov 17, 2020
  13. 1 remaining item

  14. danmoseley commented on Nov 29, 2020

    @danmoseley
    Contributor

    Changed title to "user story terms" even though it's clearly not describing the current state.

  15. benaadams commented on Nov 29, 2020

    @benaadams
    MemberAuthor
  16. removed
    tracking
    on Nov 30, 2020
  17. self-assigned this
    on Dec 17, 2020
  18. modified the milestones: Future, 6.0.0 on Jan 12, 2021
  19. added
    Priority:1
    on Jan 13, 2021
  20. added
    Cost:XL
    on Jan 14, 2021
  21. Tragetaschen commented on Apr 29, 2021

    @Tragetaschen
    Contributor

    Since this is also about robustness: Writing files synchronously on Linux (at least with ext4) doesn't follow Posix to call fsync. This has (at least for me) resulted in a corrupt file (zero length) from otherwise valid code.

    #32600

  22. ghost locked as resolved and limited conversation to collaborators on Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Bottom Up WorkCost:XLPriority:1Team:LibrariesUser Storyarea-System.IOtenet-performance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions