Closed DocCyblade closed 8 years ago
OK, On it. I assume to print 4 at a time I need 4 Browser sessions. Basically will just render to PDF or whatever.
Assuming I need to go to openerp-server.conf to change Workers to 0 Should I leave the Hard and Soft Limits intact?
No select four selections print at one time
All settings have been changed I the new branch Only thing to change is the cpu and ram for each test
512mb Ram, 1 Processor First install running 490mb of 500 mb available Install Sales Management, 499-502mb 3016 k Swap. Quite Slow Install initial of Sales Management 490 mb Ram, 3020 Swap
Is it Correct that the openerp-server.conf has 2 workers entries ?
workers = 2 workers = 0
Elimintated the "workers = 2 Entry for the first of the 512 x 2 cpu tests.
Note that at first install (before Database) Memory use is 29% of 1 Gb HTOP then Installed Memory use is 32% of 1 Gb
Will Wrap in the AM.
Concerned about the 2 x Workers Entry in openerp-server.conf Should set to 0 for these tests in my understanding
Ready for 3rd Round here.
Setting all workers to 0
"# workers = 2" workers = 0
(no comment hash in the build somehow and 2 entries. Expect the second would take precedence but not sure)
@l-arnold you are correct I did a quick check and that workers = 2 should have been removed but was not. I have fixed that, but you are right that it will take the second one
Seems like 2 Processors and 1GIG Ram is working on this Test with 1 Worker. Install of Sales Management Module was noticably slow, but may always be slow
Both processors show usage at times.
I don't really see the point of the Last TEST unless we put some stronger stress tests IN Place. Last 3 Tests are pretty Level.
It does put my VM world under a pretty good test.. I've got 2.5 Gb avail. I will shut the last and maybe get 2gb back in the deal so I can run 4 gb.
The last test would have had some higher numbers if I would have loaded the DEMO data, but it puts straing on the system creating Customers and Products also.
Quotations Generated and Printed Delivery Orders Processed Invoices Generated and printed
Seems we are good. Did not really see a "faster system per say with 4cpu and 4gb RAM To Be Honest. I am sure with more user load things would change.
The reason for the tests were to confirm that that threaded mode would be consistent with resources. It seems that it is in deed. Some times programs act differently when run in threaded mode vs process mode. I did not want to assume that it would be the same.
This also provides a baseline for minimum memory usage and confirmed my suspicions that 512MB would not be enough
Thanks for testing
What is your sense about 512? I have run most of my tests with 512 x 2 processors andb workers = 0 over thr last months and it seemed, gor testing, to be sufficient.
It will render orders etc with wkhtmltox.
I don't. think it is satisfactory for true production but prob ok for a small 1 or 2 person business.
Will it run? Yes but you start eating into swap file almost immediately. Ok for testing and POC but 1GB would be the best.
Also you could easily use a desktop PC with and i5 processor and 2-3GB of RAM and run Odoo with out issues. Ram is cheep these days if hosting locally.
Agree. The issue I see is taking advantage of the Micro server on Turnkey Hub. ..02 an Hr is 50 cents a day, $15 per month.
I did not see almost any swap usage with a minimal billing install.
Next steps are .044 per hr $33 per month. .069 per hr .089 per hr. (ca $67 per month)
I know is mostly its what Odoo needs. I do think 1.5 GB is pretty sufficient for relatively robust installs and we should recommend 1 to 2 gb.
Costs running higher ram might encourage additional avenues of inquiry like Samba or multi db hosting and serving.
No inquiries for now IMHO.
What's the cost vs letting Odoo host it?
It gets very expensive with Odoo if you have more than a few users. Plus they normally won't allow "external modules" on their servers. I don't know the current cost structure. They just changed it I understand.
Additionally, just recently, the domains on Odoo servers would be like : myserver.odoo.com and not myserver.com. When the whole issue of hosting a Website kicks in that gets a bit awkward.
MAKES TKL hosting seem ...
Yeah right! $25/user/mth + $15-25/additional-module/mth that would add up very quickly I would imagine.
Final Test:
I changed the workers to 0 this puts it into threaded mode. We need to test the following and document real memory and swap space used just to make sure this will work in most situations.
Final Testing Checklist
Memory use should build gradually as earlier with multiple PDF Generations 2nd Order Created. and Rendered
[x] CPU x 2 / 1GB RAM 30% RAM used at Shell Login before HTOP 32% RAM used at Shell login after HTOP
Note that the last 3 instances (addl Sales Orders and Invoices kept Ram Level)
I don't really see the point of the following unless we put some Stronger Stress Tests IN Place. Last 3 Tests are pretty Level.
HARDER TEST (But Wrong RAM PULLED).. Only Set to 1 gb RAM
(Will RESTART and Throw to 4 GB) (ConfConsole Restart - ConfConsole did not Load. UPDATE UTMP System Changes ?
Will give this a bit. The other day I needed to restart when this happened. Just RESET. Wanted a SHUTDOWN however on CONF CONSOLE ?? Shutdown second time around. Set Ram to 4gb before new start which is now.
[x] CPU x 4 / 4GB RAM
[x] Install Sales Management App 579 mb of 3965 mb
Still Takes a while to Install but uses all processors in the work. Drops to 329 mb , climbs to 467 during Accounting Install Drops to 368 in Final Stages of install Climbs back to 540 Drops to 319
DAMN, No DEMO DATA 472 mb while Creating a Customer. tends to float between 319 and 475