From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Questions/concerns on gefs
Date: Thu, 15 Aug 2024 10:47:20 -0400 [thread overview]
Message-ID: <3B8860B022BD029A9D7228F1AD2020D2@eigenstate.org> (raw)
In-Reply-To: <4078E999B9FAF877E6CC515C0243F5B8@eigenstate.org>
Quoth ori@eigenstate.org:
> Quoth Timothy Robert Bednarzyk <mail@trbsw.dev>:
> >
> > Again, I fully realize that it's not _really_ possible to answer these
> > hypothetical questions before the work to add RAID features to gefs is
> > done, and I would be perfectly content with "I don't know" as an answer.
>
> I don't know.
>
> > While I have not had any _issues_ using gefs so far, I have some
> > concerns regarding performance. When I was copying files to my pseudo-
> > RAID 10 fs, the write speeds seemed about reasonable (I was copying from
> > several USB HDDs plugged directly into the server and from the
> > aforementioned NVMe SSD so that I could replace its ext4 filesystem with
> > gefs, and while I didn't really profile the actual speeds, I estimate
> > them to have been around 100 MiB/s based on the total size and the time
> > it took to copy from each drive). However, when I was copying files from
> > the pseudo-RAID 10 fs to the NVMe SSD, I noticed that it took somewhere
> > between 3-4 times longer than the other way around (when the NVMe SSD
> > was still using ext4). Additionally, it took about the same amount of
> > time to delete those same files from the pseudo-RAID 10 fs later.
> > Lastly, I tried moving (rather, cp followed by rm) a ~1 GB file from one
> > directory on the pseudo-RAID 10 fs to another and that ended up taking a
> > while. Shouldn't cp to different locations on the same drive be near-
> > instant since gefs is COW? And shouldn't rm also be near-instant since
> > all it needs to do is update the filesystem itself?
> >
>
> There's a lot of low hanging performance fruit -- especially for
> writing and deletion. Writing currently copies blocks a lot more
> than it theoretically needs to, and deletion is O(n) in file size,
> when it could theoretically be O(1) with some complicated code.
>
> There's nothing in 9p that allows copy to be smart about COW,
> so it isn't.
>
> https://orib.dev/gefs-future.html
>
also -- current priority is getting enough miles
on it to be sure there aren't any serious bugs, space
leaks, or other big issues; optimization comes once I'm
happy enough with it to show as an option in the installer
next prev parent reply other threads:[~2024-08-15 14:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-15 9:04 Timothy Robert Bednarzyk
2024-08-15 9:21 ` Steve Simon
2024-08-15 9:42 ` Stuart Morrow
2024-08-15 14:22 ` ori
2024-08-15 14:47 ` ori [this message]
2024-08-26 4:45 ` James Cook
2024-08-26 7:43 ` Steve Simon
2024-08-26 8:10 ` Frank D. Engel, Jr.
2024-08-26 8:26 ` Alex Musolino
2024-08-26 14:36 ` ron minnich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B8860B022BD029A9D7228F1AD2020D2@eigenstate.org \
--to=ori@eigenstate.org \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).