Hi Nitesh,

Thanks for your reply, got it, my server has 128GB RAM and 1Gbps bandwidth in 
data center. In addition, I noticed that the fabric performance will drop 
drastically if my ip list over 5000 lines, fabric output was very slow at that 
moment, how to optimize it?

Best Regards,
Leon from smart phone

From: Nitesh Nanotkar [mailto:[email protected]]
Time: Dec 4th, 2016 2:31 P.M.
To: Lee, Leon [mailto:[email protected]]
Cc: [email protected]; [email protected]
Subject: Re: [Fab-user] Hi there, two questions from newcomer.

Hi,
   Pool size depends on your central server bandwidth and ram usable. You can 
specify n no. of ips in list.
In my scenario I use pool size to be 300 when I just want to connect to servers 
and transfer files in kbs. I use 50 pool size when I have to transfer 
installation scripts which is of 950MB.
My server's upload speed is 320Mbps and has RAM of 256GB.
   Hope you understood on which factors pool size depends now.
Thanks!

On 4 Dec 2016 11:14 am, "李鸥" <[email protected]<mailto:[email protected]>> wrote:
If I can re-express that: what is the recommended value of pool_size? – Leon

From: Lee, Leon
Time: Dec 4th, 2016 10:45 A.M.
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Cc: Lee, Leon [mailto:[email protected]]
Subject: Hi there, two questions from newcomer.
Dear Jeff and All,

This is Leon from Beijing, I already installed fabric for my Linux server on 
Sep 2nd, 2016 in order to manage over ten thousand infrastructure devices (such 
as the server, storage and switch….etc) by SSH protocol. Just two questions at 
this time:
1.) how many “@parallel(pool_size)” should I specify in fabfile.py and what is 
a proper value for this parameter?
2.) what is the maximum number of rows in ip address list?
The following is my environment information, just waiting for your suggestions. 
Thanks in advance.

# ulimit -n
65535
# pip show python
Name: Python
Version: 2.7.12
Summary: A high-level object-oriented programming language
Home-page: http://www.python.org/2.7
Author: Guido van Rossum and the Python community
Author-email: [email protected]<mailto:[email protected]>
License: PSF license
Location: /usr/local/python27/lib/python2.7/lib-dynload
Requires:
# pip show fabric
Name: Fabric
Version: 1.12.0
Summary: Fabric is a simple, Pythonic tool for remote execution and deployment.
Home-page: http://fabfile.org
Author: Jeff Forcier
Author-email: [email protected]<mailto:[email protected]>
License: UNKNOWN
Location: /usr/local/python27/lib/python2.7/site-packages
Requires: paramiko
# pip show paramiko
Name: paramiko
Version: 1.17.2
Summary: SSH2 protocol library
Home-page: https://github.com/paramiko/paramiko/
Author: Jeff Forcier
Author-email: [email protected]<mailto:[email protected]>
License: LGPL
Location: /usr/local/python27/lib/python2.7/site-packages
Requires: ecdsa, pycrypto

Best Regards,
Leon Lee
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to