Re: mmap() question

2013-10-09 Thread RW
On Wed, 9 Oct 2013 15:42:27 +0400 Dmitry Sivachenko wrote: > Hello! > > I have a program which mmap()s a lot of large files (total size more > that RAM and I have no swap), but it needs only small parts of that > files at a time. > > My understanding is that when using mmap when I access some me

Re: Call fo comments - raising vfs.ufs.dirhash_reclaimage?

2013-10-09 Thread RW
On Tue, 8 Oct 2013 16:01:25 -0700 Davide Italiano wrote: > This could be probably changed -- from what | see even under high > memory pressure this wasn't a problem but all in all I agree with you > that we shouldn't loop forever but limit the number of pass on the > list to a somewhat constant n

Re: Call fo comments - raising vfs.ufs.dirhash_reclaimage?

2013-10-08 Thread RW
On Tue, 8 Oct 2013 13:32:58 +0200 Davide Italiano wrote: > On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd > wrote: > > Hi, > > > > Hi Adrian, > > > Please try it out on a -10 VM with something RAM limited - say, > > 128mb w/ GENERIC. See how it behaves. Be aware that any test that doesn't cause

Re: weekly periodic security status

2013-08-26 Thread RW
On Sun, 25 Aug 2013 22:03:58 +0200 Jeremie Le Hen wrote: > I've implemented it here: > http://people.freebsd.org/~jlh/security_status_period.diff > Doesn't this mean that if you want to run "periodic security" from crontab or manually etc, you have to override every single entry to "crontab" in

Re: weekly periodic security status

2013-08-24 Thread RW
On Thu, 22 Aug 2013 22:49:58 +0200 Jeremie Le Hen wrote: > Hi, > > I plan to commit the attached patch. This allows the turn the daily > security checks into weekly checks. You do this by adding the > following to periodic.conf(5): > > daily_status_security_enable=NO > weekly_status_se

Re: seeding randomness in zee cloud

2013-05-31 Thread RW
On Fri, 31 May 2013 14:26:39 +0200 Dirk-Willem van Gulik wrote: > > Op 31 mei 2013, om 14:02 heeft RW het > >># Activate software random generator as an additional > >> source sysctl kern.random.sys.harvest.swi=1 > > > > IIRC this doesn't do an

Re: seeding randomness in zee cloud

2013-05-31 Thread RW
On Fri, 31 May 2013 12:01:02 +0200 Dirk-Willem van Gulik wrote: > Now we happen to have very easy access to blocks of 1024bits of > randomness from a remote server in already nicely PKI signed packages > (as it is needed later for something else). > > Is it safe to simply *add* those with: > >

Re: MADV_FREE and wait4 EFAULT

2013-04-16 Thread RW
On Tue, 16 Apr 2013 14:12:54 -0700 Carl Shapiro wrote: > I am seeing wait4 system calls failing with an EFAULT and I am trying > to understand what might be going wrong. > > An inspection of the wait4 implementation suggests the opportunity > for EFAULT is within its invocations of copyout. In

Re: cvs deprecated

2012-12-30 Thread RW
On Sun, 30 Dec 2012 13:18:37 + Chris Rees wrote: > On 30 Dec 2012 12:58, "Wojciech Puchar" > wrote: > > > > do ports have to be updated this way or i can use portsnap as > > today? will > portsnap be continued or is too deprecated? > > Portsnap is staying. And I understand that freebsd-upda

Re: cvs deprecated

2012-12-27 Thread RW
On Thu, 27 Dec 2012 02:33:00 -0800 Garrett Cooper wrote: > On Thu, Dec 27, 2012 at 2:30 AM, Chris Rees wrote: > > > > I recall a cluster administrator advising use of svn protocol > > rather than http. Something to do with overheads. > > Yes, you're right. http opens a connection per-file,

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-19 Thread RW
On Tue, 19 Jun 2012 11:03:31 -0700 Garrett Cooper wrote: > On Tue, Jun 19, 2012 at 10:51 AM, Wojciech Puchar > wrote: > >>> grep sleep /etc/rc.d/* usr/local/etc/rc.d/* > >> > >> Sleeps in /etc tend to be there for good reasons, and new ones are > >> vigorously scrutinized. If you see any that you

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-19 Thread RW
On Tue, 19 Jun 2012 01:04:47 -0400 Richard Yao wrote: > On 06/19/2012 12:39 AM, Wojciech Puchar wrote: > > - delay at rc.d scripts - there are some delays inserted. > > > >> The latter item is the only place where making changes to rc.d is > >> going to help, and only then by parellelizing, and e

Re: BUG: REL 9.0 - MD malloc of custom sector size

2012-03-18 Thread RW
On Sun, 18 Mar 2012 14:01:39 +0100 rank1see...@gmail.com wrote: > man mdconfig > > -S sectorsize to use for malloc backed device > > > I want to create MD device, with sector size of 4 Kb. > > It is CRITICAL to NOT append ANY suffixes, when specifing size, via > '-s' flag in order to u

Re: Graphical Terminal Environment

2012-03-06 Thread RW
On Tue, 6 Mar 2012 10:31:49 +0100 Björn Oelke wrote: > Am 06.03.2012 um 06:48 schrieb Brandon Falk: > > I havent tried tmux yet, but on my system im only able to get 80x40 > > with vidcontrol on one monitor. But with xterm in xorg i can get > > 319x89 per monitor. Until i get about half of that, i

Re: Invalid memory stats from vmstat and sysctl vm.vmtotal?

2011-12-01 Thread RW
On Wed, 30 Nov 2011 12:39:10 - Steven Hartland wrote: > We're seeing some impossible memory usage stats reported on machines > here from vmstat and sysctl vm.vmtotal. > > We have machines reporting to be using 31GB total when they only have > 8GB physical and are not using any swap. > > Here

Re: Recommended amount of swap

2011-09-05 Thread RW
On Mon, 5 Sep 2011 14:48:57 -0500 Dan Nelson wrote: > In the last episode (Sep 05), Sean Hamilton said: > > What is the state of the art for the recommended amount of swap in > > FreeBSD? Both "normal" systems with 512 MB - 8 GB of RAM, and large > > database systems with around 128 - 256 GB. > >

Re: Phenom II 975 BE shows 0 celsius

2011-08-01 Thread RW
On Mon, 1 Aug 2011 19:21:38 -0300 Mario Lobo wrote: > On Monday 01 August 2011 15:52:30 Matthew D. Fuller wrote: > > On Sun, Jul 31, 2011 at 09:28:29PM -0300 I heard the voice of > > > > Mario Lobo, and lo! it spake thus: > > > Unfortunately this Mobo died and only found AM3 boards for which > >

Re: Why FreeBSD fetch does not download a file via a proxy for HTTPS URLS (the same works fine for HTTP urls)

2011-02-24 Thread RW
On Thu, 24 Feb 2011 12:49:06 +0530 chandra reddy wrote: > Hi All, > > I am working on a project where i need to download a file via a proxy > server using HTTPS protocol. I found that fetch does not work/support > HTTPS requests over a proxy. I just checked and neither do wget nor curl. > I c

Re: IPSEC allegations

2010-12-15 Thread RW
On Wed, 15 Dec 2010 06:56:58 -0800 (PST) Jakub Lach wrote: > > Hello. > > http://marc.info/?l=openbsd-tech&m=129236621626462&w=2 > > What's your insight? There's already a thread on this on the security list. ___ freebsd-hackers@freebsd.org mailing

MADV_FREE and vm_page_dontneed()

2010-12-03 Thread RW
Is there a good reason why physical memory pages released by madvise(...,MADV_FREE) get handled by vm_page_dontneed()? vm_page_dontneed() leaves page that are already in the inactive queue where they are, and otherwise distributes pages between the active queue, and the inactive queue's tail and h

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-21 Thread RW
On Thu, 21 Oct 2010 12:21:10 + Alexander Best wrote: > atacontrol(8) says that: > > "You should not set a spindown timeout on a disk with / or syslog > logging on it as the disk will be worn out spinning down and up all > the time." > > this seems to indicate that spinning down a disk

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread RW
On Thu, 16 Sep 2010 09:17:52 +0200 Dag-Erling Smørgrav wrote: > Garrett Cooper writes: > > Agreed. Spinning down at reboot isn't smart and seems like a good > > way to kill a disk quicker. > > *not* spinning down at halt is far worse. Most modern disks are rated > for hundreds of thousands of

Re: pageout question

2010-07-26 Thread RW
On Sun, 25 Jul 2010 23:43:08 +0300 Andriy Gapon wrote: > on 25/07/2010 23:28 RW said the following: > > I didn't say it say it was guaranteed. I just think the scenario > > where a first pass ends up between the watermarks is rare. And when > > it happens I don'

Re: pageout question

2010-07-25 Thread RW
On Sun, 25 Jul 2010 17:19:41 +0300 Andriy Gapon wrote: > on 25/07/2010 16:41 RW said the following: > > In FreeBSD the inactive queue contains disk cache pages which > > normally provide most of the clean pages needed. In addition pages > > are dribbled out to swap, an

Re: pageout question

2010-07-25 Thread RW
On Sun, 25 Jul 2010 13:07:21 +0300 Andriy Gapon wrote: > on 25/07/2010 02:31 RW said the following: > > As I understand it the hysteresis is done inside vm_pageout_scan, > > and the expectation is that one pass will typically satisfy this > > because the design aims to ke

Re: pageout question

2010-07-24 Thread RW
On Sat, 24 Jul 2010 23:23:07 +0300 Andriy Gapon wrote: > > There is a good deal of comments in the vm_pageout.c code that imply > that we use a hysteresis approach to deal with low available pages > condition. > > > In general, the hysteresis, the comments and the code make sense. > My doubt,

Re: thoughts on sorting files into sub-folders by access date?

2010-07-01 Thread RW
On Thu, 1 Jul 2010 22:08:55 +0100 RW wrote: > dir="${targetdir}/`stat -f %Sm -t %Y%m%d ${file}`/" > [ -d "${dir}"] || mkdir "${dir}" > mv "${file}" "${dir}"] > Should be: dir="${targetdir}/`stat -f %Sm -t %Y%m

Re: thoughts on sorting files into sub-folders by access date?

2010-07-01 Thread RW
On Thu, 1 Jul 2010 10:20:25 -0700 Steve Franks wrote: > Hi y'all, > > My high-end point&shoot camera likes to glob all my photos in a single > folder, and it's glutting up my drive, and makes finding a specific > trip unpleasant, with no good place for metadata. My SLR sorts them > into folders

Re: Aurora Scheduler

2010-06-07 Thread RW
On Sat, 05 Jun 2010 20:16:49 -0400 jhell wrote: > > > I'm afraid that you are confused about what the scheduler in the > FreeBSD kernel does and what the Aurora Scheduler is. They are not > relational to one another in any such way. > ... > There is not a similiar scheduling program in FreeBSD

Re: Common OS/kernel code between freebsd and linux

2010-05-22 Thread RW
On Sat, 22 May 2010 05:09:31 -0700 Anjali Kulkarni wrote: > I am not sure the right forum to ask this question - is there any > effort done to find portable code between different OSes, > particularly freebsd and linux? BSD code has been used in most operating systems due to its open licence,

Re: regenerating /var/db/pkg

2010-04-26 Thread RW
On Thu, 22 Apr 2010 20:05:48 +0300 Eitan Adler wrote: > bak=/var/backups This should be configurable IMO. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-

Re: yarrow random generator

2009-12-25 Thread RW
On Fri, 25 Dec 2009 13:38:10 -0800 Doug Barton wrote: > Robert Watson wrote: > > I'll point Mark Murray at this thread and see if we can get him to > > opine some on the current design choices and any potential changes > > to address them. I was interested by your observation that the > > boot-t

Re: yarrow random generator

2009-12-24 Thread RW
On Thu, 24 Dec 2009 19:48:43 + (GMT) Robert Watson wrote: > On Thu, 24 Dec 2009, Paul Graphov wrote: > > > And also according to Schneier it is a good idea to save state of > > the PRNG and restore it on boot to make it "more seeded". > > In the default configuration, we save some PRNG outp

Re: yarrow random generator

2009-12-24 Thread RW
On Thu, 24 Dec 2009 15:45:15 +0300 Paul Graphov wrote: > Hello guys, > > I've looked at FreeBSD 8.0 cryptographically secure pseudorandom > numbers generator and have a question. It looks like a bug but I'am > not sure. > > In file sys/dev/randomdev.c, function random_read: > > if (!ra

Re: (Ab)using rcng's features to keep rc.d-style services running should they fail.

2009-10-05 Thread RW
On Sun, 4 Oct 2009 15:11:18 +0100 Alex Trull wrote: > Hi all, > > I realised that because portupgrade/portmaster don't always > cleanly restart processes that have died due to being > upgraded (mysqld, often!) that this was something I wanted > to fix. You can configure portupgrade (and FWIW

Re: the web site

2009-03-29 Thread RW
On Sun, 29 Mar 2009 17:40:30 -0400 Chuck Robey wrote: > I just had to see if I could locate if there was a gnome project page > by looking at the FreeBSD web pages. Why don't you try that > yourself? I'll tell you, it's really FAR from being obvious. I'm > just saying, even if folks don't want

Re: Remote kernel debugging in FreeBSD using serial communication

2009-01-17 Thread RW
On Sat, 17 Jan 2009 17:57:10 -0800 (PST) Kamlesh Patel wrote: > Hi All, > > I am trying remote kernel debugging in FreeBSD using serial > communication. I got the following link. > > http://www.ibm.com/developerworks/aix/library/au-debugfreebsd.html#list1 > > My problem is my developing and ta

Re: experimantal question about md's

2008-09-29 Thread RW
On Mon, 29 Sep 2008 10:36:46 +0200 "Michael Schuh" <[EMAIL PROTECTED]> wrote: > so we have a webserver (par example) at this mirror it has very good > speed for the file-access > (ok i know in allmost cases is not the disk the bottleneck, and if we > could doing caching...) > at the above examle it

Re: experimantal question about md's

2008-09-28 Thread RW
On Fri, 26 Sep 2008 20:15:43 +0200 "Michael Schuh" <[EMAIL PROTECTED]> wrote: > Let us say i have a Machine with 8 CPUs and a lot of RAM. > An i need a very high perfomance Storage for holding data. > > My idea was to setup a raid1(0) with virtual disk images. > Created with mdconfig. > > My id

Re: What is difference between /etc/rc called programs and ones called after login prompt shows up

2008-08-23 Thread RW
On Sat, 23 Aug 2008 22:02:14 -0400 "Aryeh Friedman" <[EMAIL PROTECTED]> wrote: > Thanks that did it... but you're incorrect in saying it is only ntfs > it is all fuse based fs's I had a the same error when doing a fuse-ssh > mount to my machine at work I meant only ntfs out of all the other entr

Re: What is difference between /etc/rc called programs and ones called after login prompt shows up

2008-08-23 Thread RW
On Sat, 23 Aug 2008 23:13:49 +0100 RW <[EMAIL PROTECTED]> wrote: > On Sat, 23 Aug 2008 16:38:13 -0400 > "Aryeh Friedman" <[EMAIL PROTECTED]> wrote: > > > > c) See a additionally to prove all the above here is my /etc/rc (the > > last 2 lines where a

Re: What is difference between /etc/rc called programs and ones called after login prompt shows up

2008-08-23 Thread RW
On Sat, 23 Aug 2008 16:38:13 -0400 "Aryeh Friedman" <[EMAIL PROTECTED]> wrote: > c) See a additionally to prove all the above here is my /etc/rc (the > last 2 lines where added just to prove the point): > > #!/bin/sh > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin > > swa

Re: What is difference between /etc/rc called programs and ones called after login prompt shows up

2008-08-23 Thread RW
On Sat, 23 Aug 2008 15:33:54 +0200 Gary Jennejohn <[EMAIL PROTECTED]> wrote: > On Sat, 23 Aug 2008 06:34:23 -0400 > "Aryeh Friedman" <[EMAIL PROTECTED]> wrote: > > > What is difference between /etc/rc.d called programs and ones called > > after login prompt shows up? > > > > The reason for askin

Re: forcefsck on booting stage

2008-07-28 Thread RW
On Mon, 28 Jul 2008 15:10:11 +0200 Marc L__rner <[EMAIL PROTECTED]> wrote: > On Monday 28 July 2008 15:00, Jeremy Chadwick wrote: > > On Mon, Jul 28, 2008 at 04:11:49PM +0400, sam wrote: > > > Hello, > > > > > > How to make 'fsck -f' on booting stage of remote system? > > > > I believe by setting

Re: Sysinstall is still inadequate after all of these years / thanks for responding

2008-07-03 Thread RW
On Wed, 2 Jul 2008 23:36:09 -0400 "Sean Cavanaugh" <[EMAIL PROTECTED]> wrote: > This is the first time I ever actually downloaded all 3 CD's so i > didn't know what I was getting into. I had always just used the > first CD for the initial install, then ports for everything else. > Next time I wi

Re: Modifying the loaded kernel image

2008-06-27 Thread RW
On Fri, 27 Jun 2008 00:37:40 -0700 Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > Also, HTML Email is incredibly annoying. And you know what's even > *more* annoying? HTML Email that is sent with a text/plain MIME type, > indicating it's not HTML. There was also a problem with the base64 encodin

Re: Lack of Flash support is no longer acceptable. Bounty established...

2008-06-25 Thread RW
On Wed, 25 Jun 2008 11:52:30 +0300 Stefan Lambrev <[EMAIL PROTECTED]> wrote: > I tried this before and have a bad luck of not having working audio > on flash, but today with new wine and FF3 it works. > > Btw there is a small nasty problem copy/paste from wine app to native > apps does not work.

Re: Decent 3D acceleration in 64bit mode?

2008-06-19 Thread RW
On Thu, 19 Jun 2008 17:36:44 -0400 Chuck Robey <[EMAIL PROTECTED]> wrote: > Could I ask, does anyone here know the reason (even in general) that > the Nvidia driver isn't working on the i386? I presume you mean on amd64, since it does work on i386. http://lists.freebsd.org/pipermail/freebsd-ha

Re: i386 cpu_reset_real: code/comment mismatch

2008-05-12 Thread RW
On Mon, 12 May 2008 17:34:35 +0300 Andriy Gapon <[EMAIL PROTECTED]> wrote: > > This is not a real issue, just a code clarification. > > First a snippet from sys/i386/i386/vm_machdep.c, cpu_reset_real() > /* > * Attempt to force a reset via the Reset Control register at > * I/O port 0xcf9. Bit

Re: Yarrow's Counter

2008-04-21 Thread RW
On Mon, 21 Apr 2008 14:48:30 +0400 Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > Good day. > > Sun, Apr 20, 2008 at 06:31:35PM +0100, RW wrote: > > > this modification seems not to help anything, > > > > It possibly doesn't help with an attack against

Re: Yarrow's Counter

2008-04-20 Thread RW
On Sat, 19 Apr 2008 23:30:23 +0400 Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > I would not do it without consultations with Yarrow's creators: OK, I didn't realise it was actually specified, I thought it an implementation detail. > this modification seems not to help anything, It possibly d

Yarrow's Counter

2008-04-19 Thread RW
The random number generator in FreeBSD's Yarrow implementation uses AES256 in counter mode. When a reseed occurs the generator is reinitialised like this: - generate a new cypher-key from the pool[s] and the old key - zero the counter - encrypt the (zeroed) counter with the new key My questio

Re: Zeroing sensitive memory chunks [Was: Security Flaw in Popular Disk Encryption Technologies]

2008-02-26 Thread RW
On Tue, 26 Feb 2008 22:49:37 +0300 Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > Yes, Geoff just responded to my private question: it was Peter > Gutmann, who pointed him to the thing you're talking about. There > is a paper by Peter, > > http://www.usenix.org/publications/library/proceedings