[Toolserver-l] Newbie question: definition of a heavy job for toolserver

2010-11-17 Thread Alex Brollo
Hi all, I'm a new and very ntimidited toolserver user :-)
Presently I'm doing some Hello world tests only, as I told in a previuos
message,  but I'd like to run from toolserver my pywikipedia bot, Alebot,
that is a rather busy one (
http://stats.wikimedia.org/wikisource/EN/BotActivityMatrix.htm).http://stats.wikimedia.org/wikisource/EN/BotActivityMatrix.htm

Alebot reads at intervals itwikisource RecentChanges, selects new edits by
type, contributor and namespace, reads new or edited pages and does
things. Such things often are nothing, often imply ad edit of one
wikisource page, sometimes are more complex, implying some more
readings/editing of some different, related  pages (max 3-4
readings/editing, reading/updating of local pickle files).

My question is: how many pywikipedia readings/editing per hour are a heavy
toolserver job?

Alex
___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Re: [Toolserver-l] Newbie question: definition of a heavy job for toolserver

2010-11-17 Thread River Tarnell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alex Brollo:
 My question is: how many pywikipedia readings/editing per hour are a heavy
 toolserver job?

We don't usually measure resource use in pywikipedia readings/editing per 
hour ;-) The most common indicators of resource use are CPU time and memory.

There's also no clear point at which a job becomes heavy -- not least because 
heavy is a vague description and could mean different things to different 
people.

It would be easier to answer your question if you could provide some context...

- river.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkzjmyQACgkQIXd7fCuc5vLa1gCgvkh/jEIMXULyiIZgEFREDu+5
WgMAniK+5D3fPdR424DZT6k9zBjrsx0d
=bD4i
-END PGP SIGNATURE-

___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette


Re: [Toolserver-l] Newbie question: definition of a heavy job for toolserver

2010-11-17 Thread Alex Brollo
2010/11/17 River Tarnell river.tarn...@wikimedia.de

 Alex Brollo:
  My question is: how many pywikipedia readings/editing per hour are a
 heavy
  toolserver job?

 We don't usually measure resource use in pywikipedia readings/editing per
 hour ;-) The most common indicators of resource use are CPU time and
 memory.


My premise was A newbie question :-P

Ok. Have I some Unix tool to evaluate server resource used running a script?
And - if such a tool exists and if it will give back some exoteric result to
me - how can I evaluate it in terms of heaviness? I guess the best
solution: to paste and copy here the result if any, and to ask you again.
:-)

Feel free to send me your best link to a tutorial Unix for dummies.

Alex
___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Re: [Toolserver-l] Newbie question: definition of a heavy job for toolserver

2010-11-17 Thread Alex Brollo
2010/11/17 River Tarnell river.tarn...@wikimedia.de


 You shouldn't worry too much about resource use as long as it's not
 excessive.
 We (TS admins) will let you know if you seem to be using too many
 resources.


This is exactly what I'd like to know. :-)


  Feel free to send me your best link to a tutorial Unix for dummies.

 I usually recommend the book Understanding UNIX by Stan Kelly-Bootle, but
 unfortunately it's out of print, and it also doesn't answer this particular
 question.  (But it does tell you just about everything else you'd want to
 know.)


Thanks. There are lots of tutorials online, presently I'm very proud to
banal goals like changing PATH by python and running my first bash Hello
world script. Just to let you know how much dummy I am.

Alex
___
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette