228 Commits (ad87db07d937ba3ae778515533140dafc4a14a60)

Author SHA1 Message Date
Con Kolivas 17447ec7e2 Use the cgsleep reentrant function in avalon_send_task. 11 years ago
Con Kolivas c988587b45 Use the reentrant cgsleep functions within the avalon_send_tasks function. 11 years ago
Con Kolivas e784b23004 Use the reentrant cgsleep function to time sleeps on reading from avalon. 11 years ago
Con Kolivas 37ff9f8428 Add necessary time header include to avalon driver. 11 years ago
Con Kolivas 1864ed2634 Do a sleep of the full duration it would take to do all the work using clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to see if it's ready. 11 years ago
Con Kolivas 33bb8c7958 Use the us_to_timeval helper function in the avalon driver. 11 years ago
Con Kolivas 53beae814d Use timeval_to_spec helper in avalon driver. 11 years ago
Chris Chua 26de6e64be simplifying buffer full check 11 years ago
Chris Chua 0b9474f3a2 forking bitburner write thread function 11 years ago
Chris Chua be0d899b74 making sure original Avalon is unaffected by BitBurner changes 11 years ago
Chris Chua 2b932ccb81 changes to queueing strategy for BitBurner boards 11 years ago
Con Kolivas f3f939dd83 Do not poll in avalon_get_results without sleeping if we have finished parsing a full result. 11 years ago
Con Kolivas 61cb05a963 Add c to ambient temperature display for avalon driver. 11 years ago
Kano 51aaf816ef avalon for timeout allow d='calculate it' and fix uninitialised 11 years ago
Con Kolivas 3fe8948629 Use cloned work when finding avalon results since another thread can discard the work item while it's in use. 11 years ago
Con Kolivas dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 11 years ago
Con Kolivas b2a3941ef1 Fix warning. 11 years ago
Con Kolivas 992a97a396 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code. 11 years ago
Kano b1f57595bd avalon init write_sem before use 11 years ago
Con Kolivas f7e6701058 Fix uninit variable warnings. 11 years ago
Kano b1a80cef15 avalon allow frequency to be set via the API 11 years ago
Kano 802737e8dd BTB voltage management via the API - and set default on startup 11 years ago
Kano ecc9457b6b Avalon BTB allow partial work to be transferred 11 years ago
Kano 6dabdff15c avalon_cts use correct buffer 11 years ago
Chris Chua 782206ceca using usb_ident 11 years ago
Chris Chua b8cdaea8bb forgot a return 11 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 11 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 12 years ago
Kano 385a70bea7 make all statline overflow safe 12 years ago
Con Kolivas a011fe5182 Check for a timeout in avalon_scanhash and post to the write sem if we receive one. 12 years ago
Con Kolivas 3b2f9ccb88 Decay result count in avalon more slowly to not falsely detect idle periods as low result return rates. 12 years ago
Con Kolivas 4b4a13549e Count the number of miners idled in avalon to account more accurately for when its result return rate is too low. 12 years ago
Con Kolivas e13c580cac Fix potential dereference when starting avalon with all new work. 12 years ago
Con Kolivas 18422fbf7d Only throttle avalon clockspeed in avalon_auto in non optimal temperature settings if the fanspeed has reached maximum. 12 years ago
Con Kolivas 3ef0db5658 Reinstate more aggressive <2% HW error target for avalon-auto 12 years ago
Con Kolivas 05344eff03 Set avalon fan min and fan max to PWM values instead of percentage. 12 years ago
Con Kolivas 065b6a5e36 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode. 12 years ago
Con Kolivas 36b556aa66 Set the avalon idle frequency to lowest if avalon auto is enabled and we have an overheat condition. 12 years ago
Con Kolivas ce214e1270 Decrease avalon frequency in auto mode if we are unable to maintain the temperature in the optimal range. 12 years ago
Con Kolivas d7c99cd116 Use a more conservative upper limit of 1% for hardware errors with avalon auto frequency. 12 years ago
Con Kolivas f142a4de23 Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100% 12 years ago
Con Kolivas 34547596b3 Support all avalon frequencies on the command line. 12 years ago
Con Kolivas 18f9112e48 Reset the other auto counters in avalon when idling a device. 12 years ago
Con Kolivas e811c4dc77 Add an avalon-auto option which enables dynamic overclocking based on hardware error rate for maximum effective hashrate. 12 years ago
Con Kolivas 9b45daba6b Add an --avalon-cutoff feature which puts the avalon idle should it reach this temperature, defaulting to 60, re-enabling it when it gets to target temperature. 12 years ago
Con Kolivas 1fca632f7c Add an --avalon-temp option to allow a user specified target temperature. 12 years ago
Con Kolivas 6bdfed3db4 Demote no matching work message to verbose logging only on avalon. 12 years ago
Con Kolivas 6cc09aa1e9 Make the fan control on the avalon a simple PID controller with a target temperature of 45. 12 years ago
Con Kolivas c64d95f267 Support new overclocking speeds for avalon: 325, 350 and 375 12 years ago
Con Kolivas df81ce6784 Use the nusleep function for sleeping after sending work in avalon. 12 years ago