Re: How to invalidate NFS read cache?

2009-05-15 Thread Konrad Heuer


On Fri, 15 May 2009, Konrad Heuer wrote:


(...)
The problem I observe happens with FreeBSD 6.4-R and 7.0-R with nfsv3. The 
fstab entry I use is:


server:/Volume /local/dir nfs bg,rw,intr,-T,-r32768,-w16384 0 0

The server runs on Mac OSX 10.5.

In the meantime, I had the chance to examine a failure a little bit closer. 
As far as I can see in the moment a file modified on a Linux NFS client gets 
a new modification time on the NFS server but the FreeBSD client still sees 
the old timestamp. This obviously happens sporadically only under some 
circumstances I do not know further. I'll do some further testing the next 
days.


Could you imagine a kind of directory or metadata caching on FreeBSD NFS 
clients that may cause this behaviour?


I forgot to mention one detail: File modification happens with emacs; thus 
the modified file is indeed a new one with a new inode number whereas the 
old version keeps its inode and gets renamed.


Best regards
Konrad

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: Memory leak on thread removal

2009-05-15 Thread Marius Nünnerich
On Tue, May 12, 2009 at 08:27, Mikolaj Golub to.my.troc...@gmail.com wrote:
 Hi,

 The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, amd64):

 #include omp.h
 #include unistd.h

 int n = 4, m = 2;

 int main () {
        for (;;) {
                int i;

                //sleep(2);
 #pragma omp parallel for num_threads(m)
                for(i = 0; i  1; i++) {}

                //sleep(2);
 #pragma omp parallel for num_threads(n)
                for(i = 0; i  1; i++) {}

        }

        return 0;
 }

 During the run the program's virtual memory usage constantly grows. The growth
 is observed only when n != m. When running the program with uncommented
 sleep() and observing the number of threads with 'top -H' I see in turn 2 or 4
 threads. So it looks like memory leak when thread is removed. Should I fill
 PR?

I can confirm this. I briefly looked through the libgomp code but
didn't see the leak. Anybody knows good tools how to investigate this?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: Memory leak on thread removal

2009-05-15 Thread Andriy Tkachuk

On 2009-05-15 14:48, Marius Nünnerich wrote:

Anybody knows good tools how to investigate this?


Valgrind?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: FreeBSD jobs

2009-05-15 Thread Julian Stacey
Hi Matt,
  Several suckers have already enquired to that firm. =A0Hope we might get
  some Free labour to donate time to Freebsd, Not Stock holders !
 
 Hi Julian,
 Internships are an accepted way for a high school or university

In America. America imported unpaid apprenticeships  indentured
servitude (time limited slavery) from Europe/Britain centuries ago.
Britain dumped both Long since.  (Germany still has some interns
eg in theatre, last described as a rip off).  Condolences that the 
Land of the free retains medieval European intern practice.


 it is clearly stated that it is a non-paid internship in the post.

Not clear at start.  The word intern may be clear warning of No
Money in American dialect, but to British eyes, it was a strange
word out of context  ignored.
( Monika Lewinsky news first brought the quaint old fashioned
  American word  concept of Intern back across the Atlantic,
  but in English, Intern just means certain some workers ).

Posting near end had:   San Francisco
Posting in final line had:  This is an unpaid position!
Posting should have started
USA/ San Francisco - Unpaid job
to efficiently enable global readership of jobs@ to delete unread,
but American-centric censors of global jobs@ messed up as often,


 I imagine that there would be some interested students or unemployed
 people that would love to work with Alfred on a project at Juniper a
 few hours a week in their spare time, for free.

http://lists.freebsd.org/pipermail/freebsd-jobs/2009-May/000652.html
more than 2 hours/day 
That's 1/4 or more of a full time job - _Unpaid_ !
No offer of money, food, transport, training courses, books,
hardware to keep.  It undermines labour rates for all BSD
workers.  The j...@freebsd.org censors blocked my polite
post people instead work free for freebsd.org


 It will look great on
 a resume, they will probably learn some valuable skills, and perhaps
 parlay it into a full-time, paid position.

Managers will read:
This keen sucker can be kept at Low rates for a Long time.

Better that FreeBSD people work free Not for scrounging commercial
firms  share holder profit, but for charity eg:
FreeBSD development projects  systems admin (eg send-pr
base, (parlay into a job requiring corporate support/ trouble
ticket experience ), FSF, Xorg, Greenpeace, computer
automating a local library, FreeBSD training lectures to
schools, fixing BSD install etc for blind / half blind etc.

Cheers,
Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML  Base64 text are spam. www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


FreeBSD jobs

2009-05-15 Thread Alfred Perlstein
 On Thu, May 14, 2009 at 9:53 AM, Julian Stacey jhs at berklix.org wrote:
  Hi hackers@
  A commercial firm asked for _Free_ labour today on jobs at freebsd.
  The censors passed it.  Censors of jobs at freebsd.org then blocked
  the posting below.  jobs@ censors again bad, block wrong things,
  should all be removed  not replaced.
 
  Several suckers have already enquired to that firm.  Hope we might get
  some Free labour to donate time to Freebsd, Not Stock holders !
 
 Hi Julian,
 
 Internships are an accepted way for a high school or university
 student (and nowadays some post grad students and others) to gain a
 bit of experience in their field before joining the work force or
 perhaps while switching careers. At my company, we've filled several
 full-time positions with people that were interns first. It's just a
 way to fill a part-time, sometimes non-paid job, at a company where
 there isn't an official requisition for that particular position.
 Nobody is forcing anybody to take the internship and it is clearly
 stated that it is a non-paid internship in the post.
 
 I imagine that there would be some interested students or unemployed
 people that would love to work with Alfred on a project at Juniper a
 few hours a week in their spare time, for free. It will look great on
 a resume, they will probably learn some valuable skills, and perhaps
 parlay it into a full-time, paid position.
 
 best,
 -matt

Thanks Matt, this is my only intention.

A few of the candidates I've spoken too are very excited to get
something on their resume with a commercial entity and there is the
hope that I may be able to hire one on them in the future.

I've also promised the candidates that they will have access to
some amazing resources within Juniper if (I can manage it) and at the
very least I can mentor them on any FreeBSD endeavors they take on
for the other non-2 hours per-day they would be working for me.

While I would love to see more students working on FreeBSD, the
fact of the matter is that some students already have worked on
FreeBSD and would like commercial experience of worked on a team
in an office environment that is challenging to mimic in our
(FreeBSD's) distributed ways.

At the end of the day, what FreeBSD-jobs is supposed to be is a
place where jobs can be posted and found that will enable a FreeBSD
fan to find suitable employment opportunities for a career, or
to advance their career.

The reason for moderation of FreeBSD-jobs is to prevent people such
as Julian turning a well intentioned message into a thread of
flames because he's gone imbalanced due to lack of coffee some
morning.

Effectively it's been a pretty swell system, FreeBSD-jobs has 0
spam (except to the poor moderators) and also insulated job seekers
and posters from the typical hecklers who feel the need for extremely
abusive emails due to some real or perceived mistake by the recruiter
or job-seeker.

I honestly feel that we've even saved plenty of people embarrassment
by blocking or bouncing messages that they may have sent in haste
to freebsd-jobs that after cooling off realized the Internet is
forever, why in g-d's name did I send something so mean with my
name on it?!?.

It's a shame it doesn't work for cross-list posts. 

I'm proud to be one of the moderators on FreeBSD-jobs, but I do
admit most of the work is done by the other moderators.

Thanks again Matt.  I'm going to have to pick your brain later about
how to deal with interns, care, feeding, hats? :)

And Julian, chill out, I still cringe from embarrassment when someone
drags out some old email _I_ sent with close to the  same tone as
the ones I've been seeing from you.  Best of luck.

-Alfred
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: FreeBSD jobs

2009-05-15 Thread Achim Patzner

Am 15.05.2009 um 16:43 schrieb Julian Stacey:


Internships are an accepted way for a high school or university


In America. America imported unpaid apprenticeships  indentured
servitude (time limited slavery) from Europe/Britain centuries ago.


Take this somewhere else, it's getting boring. Grown-ups should know
what they're doing without your protection and the rest might learn
a bit on their own.


Achim Patzner

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: FreeBSD jobs

2009-05-15 Thread Julian Stacey
  Internships are an accepted way for a high school or university
 
  In America. America imported unpaid apprenticeships  indentured
  servitude (time limited slavery) from Europe/Britain centuries ago.
 
 Take this somewhere else, it's getting boring. Grown-ups should know
 what they're doing without your protection and the rest might learn
 a bit on their own.

You'r right on adults  free choice, I'll drop that rather than drift.
What I was trying to illustrate is what jobs@ censors pass  block.
   - jobs@ is censored, so jobs@ censors performance cant be discussed on j...@.
   - Those that pushed to censor jobs@ some years ago ( succesors?)
 are not worth having, j...@freebsd would be better without them.
   - Censors of jobs@ do not have the courage to announce on footer or 
 header of jobs@ that they censor j...@freebsd.
   - Most don't know j...@freebsd Is censored.
 Most think only announce@ is moderated ,  maybe a...@.  
   - Moving to chat@ is for things that drift off from FreeSBD, but
 FreeBSD censorship Is relevant to FreeBSD, 
   - Where better than hackers@ to look for support to liberate
 j...@freebsd from censors ?

Cheers,
Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML  Base64 text are spam. www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: FreeBSD jobs

2009-05-15 Thread Marcel Moolenaar


On May 15, 2009, at 7:43 AM, Julian Stacey wrote:


Hi Matt,
Several suckers have already enquired to that firm. =A0Hope we  
might get

some Free labour to donate time to Freebsd, Not Stock holders !


Hi Julian,
Internships are an accepted way for a high school or university


In America. America imported unpaid apprenticeships  indentured
servitude (time limited slavery) from Europe/Britain centuries ago.
Britain dumped both Long since.  (Germany still has some interns
eg in theatre, last described as a rip off).  Condolences that the
Land of the free retains medieval European intern practice.


*plonk*

--
Marcel Moolenaar
xcl...@mac.com



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: FreeBSD jobs

2009-05-15 Thread Mark Linimon
On Fri, May 15, 2009 at 06:54:53PM +0200, Julian Stacey wrote:
- Those that pushed to censor jobs@ some years ago ( succesors?)
  are not worth having, j...@freebsd would be better without them.

In your opinion.  Not in mine.

- Where better than hackers@ to look for support to liberate
  j...@freebsd from censors ?

c...@.

mcl
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org