l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2007 Jan 22 18:12

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] [OT] MS Windows nice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] [OT] MS Windows nice



On Mon 22 Jan 07, 11:03 AM, Harold Lee <harold@hotelling.net> said:
> Peter Jay Salzman wrote:
> >1. Is there a cron for Windows?  I would like to run something like:
> >
> >      cd /path/to/application
> >      ant create.reference.data
> >
> >   before coming into work.
> >
> >  
> Look up the command "at". I think if you run "at help" on the command 
> line, it'll help you out.
> 
> >2. Is there a nice for Windows?
> >
> >      I don't think the ref data is built any faster when it has full
> >      control of my system.  I really would like to read digg.com while
> >      the data is being built.  Is there a way to nice a process in 
> >      Windows?
> >
> >  
> MS discourages people from playing around with process priorities 
> because, in my experience, it is easy for processes to get CPU starved 
> or to hog the CPU - not a lot of subtlety in the scheduler, I think. 
> Better to just run it when you're not around.
> 
> My guess is that you're killing the disk, writing tons of data as fast 
> as you can pull it over a gigabit ethernet - if that's the case, and you 
> need to be able to use the computer meanwhile, you could always add a 
> sleep() call (or Java equivalent) to wait a little while after each 
> write to disk. Also look at how much data you're gathering before each 
> write - maybe it'll help Windows if you build a larger buffer of binary 
> data and do fewer, larger writes... just a thought.
> 
> -Harold

Actually, that might be a really good idea.  The reference data generator
isn't my code -- it's actually very very old.  My current project is to
update the financial models, so my job wasn't to "get" the data; it's what
to do with it once it's "gotten".   :-)

I like your ideas.  I'll take a look at it tomorrow.

Thanks!
Pete

-- 
How VBA rounds a number depends on the number's internal representation.
You cannot always predict how it will round when the rounding digit is 5.
If you want a rounding function that rounds according to predictable rules,
you should write your own.
              -- MSDN, on Microsoft VBA's "stochastic" rounding function

Peter Jay Salzman, email: p@dirac.org web: http://www.dirac.org/p    
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.