Files
@ abe4f18bd898
Branch filter:
Location: DistRen/etc/distrencommon.conf - annotation
abe4f18bd898
1.7 KiB
text/plain
-added assigned_frames variable to blendjob structure
-adjusted frame_num_struct_builder by adding 1 to the total amount. (line 270)
reason: by example
sframe = 1
eframe = 2
eframe - sframe = 1.. when in reality 2 frames should be rendered... so it is now
int total = (sframe - eframe) +1;
refined frame_finder() function to use the structure for total_frames data... and optimized its frame scanning so that it scanned from (for example) 0 to 249 is 250 because the computer counts 0 as one of its numbers.
the statement in status_report_generator() function that adjust the hcfjob global variable to be able to increase the hcfjob by more than 1 per status_report_generator() function itteration by changing it to a while statement from an if statement.
moved the declaration of the num1 and num2 variables till after hcfjob was checked, because the value of num1 is based off the hcfjob value.
Added ability for status_report_generator() function to calculate the percent_done of the job and count the number of frames assigned, but not yet completed.
-adjusted frame_num_struct_builder by adding 1 to the total amount. (line 270)
reason: by example
sframe = 1
eframe = 2
eframe - sframe = 1.. when in reality 2 frames should be rendered... so it is now
int total = (sframe - eframe) +1;
refined frame_finder() function to use the structure for total_frames data... and optimized its frame scanning so that it scanned from (for example) 0 to 249 is 250 because the computer counts 0 as one of its numbers.
the statement in status_report_generator() function that adjust the hcfjob global variable to be able to increase the hcfjob by more than 1 per status_report_generator() function itteration by changing it to a while statement from an if statement.
moved the declaration of the num1 and num2 variables till after hcfjob was checked, because the value of num1 is based off the hcfjob value.
Added ability for status_report_generator() function to calculate the percent_done of the job and count the number of frames assigned, but not yet completed.
67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 67c77fdf3f11 | /*
Configuration file for distren.
Currently, this file is being prepared as the goal for this project. For instance, the ability to support connecting and communicating with servers is suggested by the server sections.
*/
/*
currently, server's are only supported rudimentarily. If a job has n frames and there are s servers, n / (s + 1) frames will be sent to each individual server and also rendered on the machine the job was submitted to. There will be no recursive distribution of jobs, but I want to make that possible in the future. AND, I want job IDs to have significance based on 1: the files, 2: the versions of software used to render just like git, mercurial, or bazaar's commit IDs have significance. This will allow global distribution of renderjobs without requiring central servers to coordinate the jobs - a network only need be distributed. And complex algorithms based on timeouts and completion of jobs should allow slow servers to reassign jobs to fast ones and, possibly, find shorter routes to return the resulting images to the original job submitter.
Just a pointer, for the multiple server architecture, we would need to designate one server as a "master" server to avoid obvious issues. We can code it flexibly though. --Normaldotcom
I don't know what ``obvious'' issues you're talking about ;-) --ohnobinki
*/
server protofusion
{
hostname = "protofusion.org"
username = "distrenc"
/* method's use is not implemented, ssh is the only option atm ' */
method = "ssh"
types = {"submit", "distribution"} /* submit means it accepts jobs, distribution means it can host files */
}
server ohnopublishing
{
hostname = "ohnopublishing.net"
username = "distrenc"
method = "ssh"
types = {"distribution"}
}
|