Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
daniel:// stenberg://
@bagder@mastodon.social  ·  activity timestamp 2 weeks ago

Interesting numbers.

#curl on my Linux machine can download a large file from http://localhost at 5.0GiB/sec. Pointing to the file:// version of the exact same file "only" increases the speed to .8.8GiB/sec.

  • Copy link
  • Flag this post
  • Block
hisold
@hisold@toot.io replied  ·  activity timestamp 2 weeks ago

@bagder You know what this means. You need to develop a Webserver with performance and reliability similar to curl.

  • Copy link
  • Flag this comment
  • Block
Troels Liebe Bentsen
@tlbdk@mastodon.online replied  ·  activity timestamp 2 weeks ago

@bagder I guess you are testing sendfile, I'm almost surprised it is not closer.

  • Copy link
  • Flag this comment
  • Block
Kimmo Ahokas
@KimmoAhokas@mastodon.social replied  ·  activity timestamp 2 weeks ago

@bagder what web server are you using for the test? Any idea whether curl or the web server is the bottleneck?

  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
@bagder@mastodon.social replied  ·  activity timestamp 2 weeks ago

@KimmoAhokas curl spends less than 40% CPU on this, Apache2 is at 100%...

  • Copy link
  • Flag this comment
  • Block
Kimmo Ahokas
@KimmoAhokas@mastodon.social replied  ·  activity timestamp 2 weeks ago

@bagder Ha, suspected something like that 🤣. I wonder if there even is any web server that could match the curl performance in such a test.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login