Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
1 2 3 4 5 … 18 Next »
How to run heavy tasks without reaching quota ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
How to run heavy tasks without reaching quota ?
26-01-2025, 11:15 PM,
#1
The17thDoctor Online
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
How to run heavy tasks without reaching quota ?
Since a few years now, I've had starfalls performing load-heavy tasks on people's client and one of the main problem with performing said tasks is to make sure code doesn't exceed quota.

The most naïve but relatively reliable approach is to use cpuAverage / cpuMax < threshold% and use that to decide whether an iteration of the heavy task will be able to run.
However it's not the best and doesnt take into account other Starfalls that might be running clientside which also take from the client quota.

I've been trying to think of smarter approaches to make sure quota won't be reached but I cannot think of any.
Are there any alternative ?

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
How to run heavy tasks without reaching quota ? - by The17thDoctor - 26-01-2025, 11:15 PM
RE: How to run heavy tasks without reaching quota ? - by Person8880 - 27-01-2025, 05:11 PM
RE: How to run heavy tasks without reaching quota ? - by The17thDoctor - 27-01-2025, 06:05 PM
RE: How to run heavy tasks without reaching quota ? - by Person8880 - 27-01-2025, 06:58 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.