EG and Stackless
Posted: Thu Sep 15, 2016 5:12 pm
I have been running some tests with stackless python and i would like to confirm something,
as stackless is a dying flavor of python. I wanted to see how difficult it would be to remove stackless from EG.
and it really was not that difficult. and something unexpected also happened
and i just want to confirm it is not a computer issue.
here is the setup. and what is happening.
I have 2 computers.
#1 8 core 3.2 ghz, 64 gigs ram, 4 SSD raid 0 and each ssd is rated at up to 550mbs read and 520mbs write and these drives are controlled by a dedicated raid controller with an intel iop 1.2ghz processor with 512mb memory
#2 6 core 2.8ghz 8gb ram and a single ssd rated at 480mbs read and 430mbs write
i have a version of EG with stackless removed and threading has been used to replace it. that version of EG is running on machine #2
starting eg with an empty tree computer #1 has an xml load time and plugin scan time of
11:45:21: 0 ActionThread: XML loaded in 0.215043 seconds.
11:45:20: 0 MainThread: PluginManager.ScanAllPlugins :0.19594453014844029
and on computer #2 without stackless xml and plugin load time of
12:23:49: 7052 ActionThread: XML loaded in 0.002979 seconds.
12:23:48: 8568 MainThread: PluginManager.ScanAllPlugins :0.21741138411702612
now this is pretty definitive on my end.
but i would like to know what others have for load times.
this can be done by turning on debugging. and reading the log file
i am going to run more tests to see. I am going to time total EG load time.
but the slower computer is far faster at file access without stackless thus far.
I have run benchmarks to check hdd performance. and these are the 2 computers. and i have pretty much narrowed it down to stackless
the first image in each set is a 1gig test and the second is a 50mb test and the first column in each is the read tests. and the second is write tests.
as far as the write tests go they are very close in numbers. but there is one difference. computer 1 has write caching turned off and computer 2 has it turned on.
this is done because before i had a battery backup i didn't want to have any data corruption on computer 1 if i lost power. this can happen because of the raid. i honestly forgot up until now that it is in fact turned off. so the numbers being the same indicates that computer 1 is faster at writes than computer 2 because basically computer 2 is intentionally handicapped and the numbers are almost the same
computer 1
computer 2
as stackless is a dying flavor of python. I wanted to see how difficult it would be to remove stackless from EG.
and it really was not that difficult. and something unexpected also happened
and i just want to confirm it is not a computer issue.
here is the setup. and what is happening.
I have 2 computers.
#1 8 core 3.2 ghz, 64 gigs ram, 4 SSD raid 0 and each ssd is rated at up to 550mbs read and 520mbs write and these drives are controlled by a dedicated raid controller with an intel iop 1.2ghz processor with 512mb memory
#2 6 core 2.8ghz 8gb ram and a single ssd rated at 480mbs read and 430mbs write
i have a version of EG with stackless removed and threading has been used to replace it. that version of EG is running on machine #2
starting eg with an empty tree computer #1 has an xml load time and plugin scan time of
11:45:21: 0 ActionThread: XML loaded in 0.215043 seconds.
11:45:20: 0 MainThread: PluginManager.ScanAllPlugins :0.19594453014844029
and on computer #2 without stackless xml and plugin load time of
12:23:49: 7052 ActionThread: XML loaded in 0.002979 seconds.
12:23:48: 8568 MainThread: PluginManager.ScanAllPlugins :0.21741138411702612
now this is pretty definitive on my end.
but i would like to know what others have for load times.
this can be done by turning on debugging. and reading the log file
i am going to run more tests to see. I am going to time total EG load time.
but the slower computer is far faster at file access without stackless thus far.
I have run benchmarks to check hdd performance. and these are the 2 computers. and i have pretty much narrowed it down to stackless
the first image in each set is a 1gig test and the second is a 50mb test and the first column in each is the read tests. and the second is write tests.
as far as the write tests go they are very close in numbers. but there is one difference. computer 1 has write caching turned off and computer 2 has it turned on.
this is done because before i had a battery backup i didn't want to have any data corruption on computer 1 if i lost power. this can happen because of the raid. i honestly forgot up until now that it is in fact turned off. so the numbers being the same indicates that computer 1 is faster at writes than computer 2 because basically computer 2 is intentionally handicapped and the numbers are almost the same
computer 1
computer 2
