Re: How to bind a static ether address to bridge?

2011-02-25 Thread Matthew Dillon
If you can swing a routed network that will definitely have the fewest complications. For a switched network if_bridge and ARP have to be integrated, something I just finished doing in DragonFly, so that all member interfaces of the bridge use *only* the bridge's MAC for all tr

Re: Constant rebooting after power loss

2011-04-01 Thread Matthew Dillon
The core of the issue here comes down to two things: First, a power loss to the drive will cause the drive's dirty write cache to be lost, that data will not make it to disk. Nor do you really want to turn of write caching on the physical drive. Well, you CAN turn it off, but

Re: Constant rebooting after power loss

2011-04-02 Thread Matthew Dillon
ultipliers and other external enclosure bridges, high-end SCSI phys and, NVRAM aside (which is arguable), real RAID hardware. And well-known vendors (fringe SSDs do not count). That covers 90% of the market and 99% of the cases where protocol reliability is required.

Re: Constant rebooting after power loss

2011-04-03 Thread Matthew Dillon
:> Do you know if that's changed at all with NCQ on modern SATA drives? :> I've seen people commenting that using tags recovers most, if not all, :> of the performance lost by disabling the write cache. :... I've never tried that combination. Theoretically the 32 tags SATA supports woul

Re: PCIe SATA HBA for ZFS on -STABLE

2011-06-06 Thread Matthew Dillon
a very good chipset spec and vendors took all sorts of liberties. -Matt Matthew Dillon ___ freebsd-stable@freebsd.org mailing list ht

Re: 32GB limit per swap device?

2011-08-22 Thread Matthew Dillon
The limitation was ONLY due to a *minor* 32-bit integer overflow in one or two *intermediate* calculations in the radix tree code, which I long ago fixed in DragonFly. Just find the changes in the DFly codebase and determine if they need to be applied. The swap space radix

Re: 32GB limit per swap device?

2011-08-23 Thread Matthew Dillon
Two additional pieces of information. The original limitation was more related to DEV_BSIZE calculations for the buf/bio, which is now 64-bits and thus not applicable, though you probably need some preemptive casts to ensure the multiplication is done in 64-bits. There was als

Re: Make ZFS auto-destroy snapshots when the out of space?

2010-05-30 Thread Matthew Dillon
It is actually a security issue to automatically destroy snapshots based on whether a filesystem is full, even automatically generated snapshots. Since one usually implements snapshots to perform a function you wish to rely on, such as to retain backups of historical data for auditi

Re: vm.swap_reserved toooooo large?

2010-12-20 Thread Matthew Dillon
One of the problems with resource management in general is that it has traditionally been per-process, and due to the multiplicative effect (e.g. max-descriptors * limit-per-descriptor), per-process resources cannot be set such that any given user is prevented from DDOSing the s

Re: bad NFS/UDP performance

2008-09-26 Thread Matthew Dillon
:> -vfs.nfs.realign_test: 22141777 :> +vfs.nfs.realign_test: 498351 :> :> -vfs.nfsrv.realign_test: 5005908 :> +vfs.nfsrv.realign_test: 0 :> :> +vfs.nfsrv.commit_miss: 0 :> +vfs.nfsrv.commit_blks: 0 :> :> changing them did nothing - or at least with respect to nfs t

Re: bad NFS/UDP performance

2008-09-27 Thread Matthew Dillon
Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to &

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Matthew Dillon
A couple of things to note here. Well, many things actually. * Turning off write caching, assuming the drive even looks at the bit, will destroy write performance for any driver which does not support command queueing. So, for example, scsi typically has command queuein

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Matthew Dillon
as with 3Ware) boot support. ZERO. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-30 Thread Matthew Dillon
makes background fsck problematic and risky. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Would anybody port DragonFlyBSD's HAMMER fs to FreeBSD?

2008-09-30 Thread Matthew Dillon
Guys, please don't start a flamewar. And lhmwzy we discussed this on the DFly lists. It's really up to them... that is, a programmer who has an interest, inclination, and time. It isn't really fair to try to push it. I personally believe that the FreeBSD community as a whole

Re: sidetrack [was Re: 'at now' not working as expected]

2008-10-09 Thread Matthew Dillon
Also, if you happen to have a handheld GPS unit, it almost certainly has a menu option to tell you the sunrise and sunset times at your current position. -Matt ___ freebsd-stable@freebsd.org ma

Re: An old gripe: Reading via mmap stinks

2010-01-14 Thread Matthew Dillon
: mmap: 43.400u 9.439s 2:35.19 34.0%16+184k 0+0io 106994pf+0w : read: 41.358u 23.799s 2:12.04 49.3% 16+177k 67677+0io 0pf+0w : :Observe, that even though read-ing is quite taxing on the kernel (high :sys-time), the mmap-ing loses overall -- at least, on an otherwise idle :system -

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Matthew Dillon
se then leaving them B_DELWRI in the buffer cache because now the VM pages are all soft-busied). -Matt Matthew Dillon ___ free

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Matthew Dillon
MART page to appease techies :-) These particular WDs (2TB Caviar Green's) are slow drives. 5600 rpm, 100MB/sec. But they are also very quiet in operation and seem to be quite power efficient. -Matt

Re: hardware for home use large storage

2010-02-09 Thread Matthew Dillon
The Silicon Image 3124A chipsets (the PCI-e version of the 3124. The original 3124 was PCI-x). The 3124A's are starting to make their way into distribution channels. This is probably the best 'cheap' solution which offers fully concurrent multi-target NCQ operation through a port

Re: hardware for home use large storage

2010-02-10 Thread Matthew Dillon
:Correction -- more than likely on a consumer motherboard you *will not* :be able to put a non-VGA card into the PCIe x16 slot. I have numerous :Asus and Gigabyte motherboards which only accept graphics cards in their :PCIe x16 slots; this """feature""" is documented in user manuals. I :don't kno

Re: How to take down a system to the point of requiring a newfs with one line of C (userland)

2008-02-18 Thread Matthew Dillon
Jim's original report seemed to indicate that the filesystem paniced on mount even after repeated fsck's. That implies that Jim has a filesystem image that panics on mount. Maybe Jim can make that image available and a few people can see if downloading and mounting it reproduc

Re: fsck_ufs: cannot alloc 94208 bytes for inoinfo

2008-02-27 Thread Matthew Dillon
fsck's memory usage is directly related to the number of inodes and the number of directories in the filesystem. Directories are particularly memory intensive. I've found on my backup system that a UFS1 filesystem with 40 million inodes is about the limit that can be fsck

Re: udf

2008-05-19 Thread Matthew Dillon
gmented you are going to be doing the seeks anyway, probably. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-sta

Re: Sockets stuck in FIN_WAIT_1

2008-05-29 Thread Matthew Dillon
I guess nobody mentioned the obvious thing to check: Make sure TCP keepalive is turned on. sysctl net.inet.tcp.always_keepalive=1 If you don't do this then dead TCP connections can build up, particularly on busy servers, due to the other end simply disappearing. Without

Re: Sockets stuck in FIN_WAIT_1

2008-05-29 Thread Matthew Dillon
:On May 29, 2008, at 3:12 PM, Matthew Dillon wrote: :>I guess nobody mentioned the obvious thing to check: Make sure :>TCP keepalive is turned on. :> :>sysctl net.inet.tcp.always_keepalive=1 : : :Thanks Matt. : :I also thought that a keepalives were not running and s

Re: Sockets stuck in FIN_WAIT_1

2008-05-29 Thread Matthew Dillon
ausing the data sent from the server to build up and for the client's buffer space to run out, and start advertising the 0 window. -Matt Matthew Dillon <[EMAIL

Re: Sockets stuck in FIN_WAIT_1

2008-05-29 Thread Matthew Dillon
:This is exactly what we're seeing, it's VERY strange. I did kill off :Apache, and all the FIN_WAIT_1's stuck around, so the kernel is in :fact sending these probe packets, every 60 seconds, which the client :responds to... (most of the time). Ach. Now that I think about it, it is sti

Re: Sockets stuck in FIN_WAIT_1

2008-05-30 Thread Matthew Dillon
It might be a reasonable bandaid, though. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.

Re: Sysctl knob(s) to set TCP 'nagle' time-out?

2008-06-23 Thread Matthew Dillon
:Hi, : :I'm wondering if anything exists to set this.. When you create an INET :socket :without the 'TCP_NODELAY' flag the network layer does 'naggling' on your :transmitted data. Sometimes with hosts that use Delayed_ACK :(net.inet.tcp. :delayed_ack) it creates a dead-lock where the host will

Re: Sysctl knob(s) to set TCP 'nagle' time-out?

2008-06-23 Thread Matthew Dillon
-Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Performance of madvise / msync

2008-06-26 Thread Matthew Dillon
: 65074 python 0.06 CALL madvise(0x287c5000,0x70,_MADV_WILLNEED) : 65074 python 0.027455 RET madvise 0 : 65074 python 0.58 CALL madvise(0x287c5000,0x1c20,_MADV_WILLNEED) : 65074 python 0.016904 RET madvise 0 : 65074 python 0.000179 CALL madvise(0x287c6000,0x1950,_

Re: Performance of madvise / msync

2008-06-26 Thread Matthew Dillon
to the underlying media... i.e. issue real I/O. So msync() can't be a NOP if you go by the OpenGroup specification. -Matt Matthew Dillon <[EMAIL PROTECTED]

Re: dvd dma problems

2008-07-14 Thread Matthew Dillon
ned. -- My recommendation is to fix physio(). User programs that do not supply aligned buffers clearly don't care about performance, so the kernel can just back the pbuf with memory and copyin/out the user data.

Re: taskqueue timeout

2008-07-15 Thread Matthew Dillon
rt of dynamic memory allocations deep in the filesystem that ZFS and HAMMER need to do. -Matt Matthew Dillon <[EMAIL PROTECTED]>

Re: Multi-machine mirroring choices

2008-07-15 Thread Matthew Dillon
:Oliver Fromme wrote: : :> Yet another way would be to use DragoFly's "Hammer" file :> system which is part of DragonFly BSD 2.0 which will be :> released in a few days. It supports remote mirroring, :> i.e. mirror source and mirror target can run on different :> machines. Of course it is still

Re: taskqueue timeout

2008-07-15 Thread Matthew Dillon
:Went from 10->15, and it took quite a bit longer into the backup before :the problem cropped back up. Try 30 or longer. See if you can make the problem go away entirely. then fall back to 5 and see if the problem resumes at its earlier pace. -- It could be temperature rela

Re: taskqueue timeout

2008-07-15 Thread Matthew Dillon
l give some clue as to the actual cause. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org maili

Re: Max size of one swap slice

2008-08-05 Thread Matthew Dillon
ctures. 32G of swap needs around 2-4MB of wired ram. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@free

Re: Max size of one swap slice

2008-08-06 Thread Matthew Dillon
-Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: calcru: runtime went backwards, RELENG_6, SMP

2007-06-06 Thread Matthew Dillon
:IV> > Upd: on GENERIC/amd64 kernel I got the same errors. :IV> :IV> Do you perhaps run with TSC timecounter? (that's the only cause I've notice :IV> that can generate this message). : :Nope: : :[EMAIL PROTECTED]:~> sysctl kern.timecounter :kern.timecounter.tick: 1 :kern.timecounter.choice: TSC(-1

Re: calcru: runtime went backwards, RELENG_6, SMP

2007-06-09 Thread Matthew Dillon
n/kern_resource.c (in FreeBSD-6.x). -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.free

Re: calcru: runtime went backwards, RELENG_6, SMP

2007-06-09 Thread Matthew Dillon
00 hz. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send

Re: calcru: runtime went backwards, RELENG_6, SMP

2007-06-11 Thread Matthew Dillon
issue with SMP. I'm afraid there isn't much more I can do to help, other then to make suggestions on tests that you can run that will hopefully ring a bell with another developer. -Matt Matt

Re: calcru: runtime went backwards, RELENG_6, SMP

2007-06-12 Thread Matthew Dillon
:s,/kernel,/boot/kernel/kernel, ;-) : :well, strange enough result for me: : :(kgdb) print cpu_ticks :$1 = (cpu_tick_f *) 0x8036cef0 : :Does this mean that kernel uses tsc? sysctl reports : :kern.timecounter.choice: TSC(-100) ACPI-fast(1000) i8254(0) dummy(-100) :kern.timecounter.hardw

Re: removing external usb hdd without unmounting causes reboot?

2007-07-31 Thread Matthew Dillon
o make sure it properly dereferencing the underlying device and properly destroys the (now unwritable) dirty buffers. -Matt Matthew Dillon <

Re: default dns config change causing major poolpah

2007-08-01 Thread Matthew Dillon
The vast majority of machine installations just slave their dns off of another machine, and because of that I do not think it is particularly odious to require some level of skill for those who actually want to set up their own server. To that end what I do on DragonFly is simp

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-24 Thread Matthew Dillon
A friend of mine once told me that the only worthwhile RAID systems are the ones that email you a detailed message when something goes south. -Matt ___ freebsd-stable@freebsd.org mailing list http://l

Re: Quation about HZ kernel option

2007-10-04 Thread Matthew Dillon
The basic answer is that HZ is almost, but not quite irrelevant. If a process blocks another will immediately be scheduled. More importantly, if an interrupt driven event (keyboard, tty, network, disk, etc) wakes a process up the scheduler has the ability to force an IMMEDIATE

Re: Quation about HZ kernel option

2007-10-04 Thread Matthew Dillon
n), whereas the scheduler has to make decisions based on counting quantums. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freeb

Re: ZFS root File System

2009-02-27 Thread Matthew Dillon
My experience with one of our people trying to do the same thing w/ HAMMER... we got it working, but it is not necessarily cleaner. I'd rather just boot from a small UFS /boot partition on 'a' (256M or 512M), followed by swap on 'b', followed by the big-ass root partition on '

Re: incorrect usleep/select delays with HZ > 2500

2009-09-21 Thread Matthew Dillon
What we wound up doing was splitting tvtohz() into two functions. tvtohz_high(tv) Returned value meets or exceeds requested time. A minimum value of 1 is returned (really only for {0,0}.. else minimum value is 2). tvtohz_low(tv) Returned value might be short

Re: serious networking (em) performance (ggate and NFS) problem

2004-11-18 Thread Matthew Dillon
Polling should not produce any improvement over interrupts for EM0. The EM0 card will aggregate 8-14+ packets per interrupt, or more. which is only around 8000 interrupts/sec. I've got a ton of these cards installed. # mount_nfs -a 4 dhcp61:/home /mnt # dd if=/mnt/x of=/d

Re: Re[2]: serious networking (em) performance (ggate and NFS) problem

2004-11-21 Thread Matthew Dillon
do until we hit around 100Khz (10uS delay). Then everything goes to hell in a handbasket. Conclusion: 1 hz would probably be a better default then 8000 hz. -Matt Matthew Dillon

Re: Re[4]: serious networking (em) performance (ggate and NFS) problem

2004-11-21 Thread Matthew Dillon
of processing (e.g. firewall lists) the machine has to do on the packets. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ [EMAIL PROTE

Re: Re[4]: serious networking (em) performance (ggate and NFS) problem

2004-11-22 Thread Matthew Dillon
utput. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail

Re: ntpd flipping between PLL and FLL mode

2006-12-19 Thread Matthew Dillon
:How would decreasing the polling time fix this? I do not understand :the semantics/behaviour of NTP very well. : :Taken from the manpage: : : maxpoll maxpoll : These options specify the minimum and maximum poll intervals for : NTP messages, in seconds to the power of two. The

Re: Xen Dom0, are we making progress?

2007-03-29 Thread Matthew Dillon
or managing VM spaces. Once those features were in place it didn't take long for me to create a 'vkernel' platform that linked against libc and used the new system calls. -Matt Matthew Dillon

Re: Xen Dom0, are we making progress?

2007-03-29 Thread Matthew Dillon
mplete an utter nightmare to maintain. Any failure at all could lead to a completely unrecoverable system. -Matt Matthew Dillon &l

Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"?

2007-05-03 Thread Matthew Dillon
:I'm trying to probe this as well as I can, but network stacks and sockets have :never been my strong suit ... : :Robert had mentioned in one of his emails about a "Sockets can also exist :without any referencing process (if the application closes, but there is still :data draining on an open so

Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"?

2007-05-03 Thread Matthew Dillon
ron job that dumps memory statistics once a minute to a file then break each report with a clear-screen sequence and cat it in a really big xterm window. -Matt Matthew Dillon

Re: swap zone exhausted, increase kern.maxswzone

2007-05-05 Thread Matthew Dillon
Basically maxswzone is the amount of KVM the kernel is willing to use to store 'struct swblock' structures. These are the little structures that are stuck onto VM objects and specify which pages in the VM object(s) correspond to which pages of swap, for any swapped out data tha

Re: swap zone exhausted, increase kern.maxswzone

2007-05-05 Thread Matthew Dillon
p UMA memory statistics that would be beneficial as well. I just find it hard to imagine that any system would actually be using that much swap, but hey! :-) -Matt Matthew D

Re: swap zone exhausted, increase kern.maxswzone

2007-05-05 Thread Matthew Dillon
a once-a-10-minutes cron job to append pstat -s, vmstat -m, and vmstat -z to a file. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___

RE: Creating one's own installer/mfsroot

2007-05-09 Thread Matthew Dillon
, check it out. My assumption is that rconfig would compile nearly without modification on a FreeBSD box. -Matt Matthew Dillon <[EMAIL PROTECTED]>

Re: clock problem

2007-05-11 Thread Matthew Dillon
and takes forever to read. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.or

Re: clock problem

2007-05-11 Thread Matthew Dillon
ahahhaha. OMG. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailm

Re: Does a pipe take a socket ... ?

2007-05-15 Thread Matthew Dillon
:Marc G. Fournier wrote: : > For those that remmeber the other day, I had that swzone issue, where I ran out : > of swap space? I just about hit it again today, swap was up to 99% used ... I : > was able to get a ps listing in, and there were a whack of find processes : > running ... : > : >

Re: weird bugs with mmap-ing via NFS

2006-03-21 Thread Matthew Dillon
: : [Moved from -current to -stable] : :צ×ÔÏÒÏË 21 ÂÅÒÅÚÅÎØ 2006 16:23, Matthew Dillon ÷É ÎÁÐÉÓÁÌÉ: :> š š You might be doing just writes to the mmap()'d memory, but the system :> š š doesn't know that. : :Actually, it does. The program tells it, that I don't

Re: more weird bugs with mmap-ing via NFS

2006-03-21 Thread Matthew Dillon
o use a larger block size. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: more weird bugs with mmap-ing via NFS

2006-03-21 Thread Matthew Dillon
te out a sequential file (on any operating system, not just BSD). -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebs

Re: more weird bugs with mmap-ing via NFS

2006-03-21 Thread Matthew Dillon
:The file stops growing, but the network bandwidth remains at 20Mb/s. `Netstat :-s' on the client, had the following to say (udp and ip only): If the network bandwidth is still going full bore then the program is doing something. NFS retries would not account for it. A simple test f

Re: more weird bugs with mmap-ing via NFS

2006-03-21 Thread Matthew Dillon
something to do either with the way the filesystem being exported was mounted on the server, or the export line in /etc/exports. -Matt Matthew Dillon

Re: more weird bugs with mmap-ing via NFS

2006-03-22 Thread Matthew Dillon
My guess is that you are exporting the filesystem as a particular user id that is not root (i.e. you do not have -maproot=root: in the exports line on the server). What is likely happening is that the NFS client is trying to push out the pages using the root uid rather then the

Re: more weird bugs with mmap-ing via NFS

2006-03-22 Thread Matthew Dillon
-Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: flushing "anonymous" buffers over NFS is rejected by server (more weird bugs with mmap-ing via NFS)

2006-03-22 Thread Matthew Dillon
FS partition. The NFS client would then use that user id for all write I/O operations. -Matt Matthew Dillon <[EMAIL PROTECTED]> _

Re: flushing "anonymous" buffers over NFS is rejected by server (more weird bugs with mmap-ing via NFS)

2006-03-22 Thread Matthew Dillon
it should allow the I/O operation to run as long as some non-root user would be able to do the I/O op. -Matt Matthew Dillon <[EM

Re: flushing "anonymous" buffers over NFS is rejected by server (more weird bugs with mmap-ing via NFS)

2006-03-23 Thread Matthew Dillon
em is not secure (and never was). It is fairly trivial for a client to supply file handles that are outside of the subdirectory tree that was exported. -Matt Matthew Dillon

Re: Reading via mmap stinks (Re: weird bugs with mmap-ing via NFS)

2006-03-23 Thread Matthew Dillon
:Actually, I can not agree here -- quite the opposite seems true. When running :locally (no NFS involved) my compressor with the `-1' flag (fast, least :effective compression), the program easily compresses faster, than it can :read. : :The Opteron CPU is about 50% idle, *and so is the disk* pr

Re: Reading via mmap stinks (Re: weird bugs with mmap-ing via NFS)

2006-03-23 Thread Matthew Dillon
:Yes, they both do work fine, but time gives very different stats for each. In :my experiments, the total CPU time is noticably less with mmap, but the :elapsed time is (much) greater. Here are results from FreeBSD-6.1/amd64 -- :notice the large number of page faults, because the system does no

Re: Reading via mmap stinks (Re: weird bugs with mmap-ing via NFS)

2006-03-23 Thread Matthew Dillon
:I thought one serious advantage to this situation for sequential read :mmap() is to madvise(MADV_DONTNEED) so that the pages don't have to :wait for the clock hands to reap them. On a large Solaris box I used :to have the non-pleasure of running the VM page scan rate was high, and :I suggested t

Re: Reading via mmap stinks (Re: weird bugs with mmap-ing via NFS)

2006-03-24 Thread Matthew Dillon
Mikhail is using. -Matt Matthew Dillon <[EMAIL PROTECTED]> ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/

Re: Reading via mmap stinks (Re: weird bugs with mmap-ing via NFS)

2006-03-25 Thread Matthew Dillon
e repeated runs to rebalance the VM cache rather then allowing a single run to blow it out or allowing a static set of pages to be retained indefinitely, which is what your tests seem to show is occuring. -Matt

Re: Maximum Swapsize

2006-04-11 Thread Matthew Dillon
From 'man tuning' (I think I wrote this, a long time ago): You should typically size your swap space to approximately 2x main mem- ory. If you do not have a lot of RAM, though, you will generally want a lot more swap. It is not recommended that you configure any less than

Re: serious networking (em) performance (ggate and NFS) problem

2005-07-02 Thread Matthew Dillon
Polling should not produce any improvement over interrupts for EM0. The EM0 card will aggregate 8-14+ packets per interrupt, or more. which is only around 8000 interrupts/sec. I've got a ton of these cards installed. # mount_nfs -a 4 dhcp61:/home /mnt # dd if=/mnt/x of=/d

Re: 4.4-STABLE machine unusable (was Re: Openssh)

2001-10-25 Thread Matthew Dillon
:On Thu, 25 Oct 2001 [EMAIL PROTECTED] wrote: : :> Guys, :> :> You can say all you like, but something in stable is totally fscked up. As :> soon as I log in and start doing anything that involves a bit of traffic :> (e.g. tailing a file), the connection freezes and I have to kill it. sshd :

Re: 4.4-STABLE machine unusable (was Re: Openssh)

2001-10-25 Thread Matthew Dillon
:Hey I won't criticize you. I thought that was my dsl doing it but it does :not happen on my windows box. Whenever I start doing something that involves :traffic on my freebsd box it will not respond remotely for about 30 seconds. :Whats up with it? Typically startup-delays in the 30-second

Re: /usr/src/UPDATING

2001-11-03 Thread Matthew Dillon
something. I don't know. But it's getting really annoying. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message

Re: KDE init [was RE: DCOP server problem...]

2001-11-12 Thread Matthew Dillon
: :Matt, : :Check out /usr/ports/sysutils/portupgrade. Automatic port & port :dependency upgrading, fully recursive. : :Took me about thirty minutes to set up. My desktop is three years old :and has been manually upgraded, patched, etc, repeatedly. And :portupgrade upgraded every port to the l

Re: -STABLE buildkernel broke! (linux module)

2001-11-18 Thread Matthew Dillon
m -rf /usr/src/sys/compile/BLAH/modules and then config and make it again. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] w

HEADS UP! GENERIC/Kernel configs using maxusers of 0 will autosize but require new config binary.

2001-12-13 Thread Matthew Dillon
and maxusers will be forced to 8 by the old config binary. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscr

Re: Speeding up ssh over modem?

2001-12-15 Thread Matthew Dillon
:I am wondering if there is a way for sshd to check if the delay between :two write()s to the terminal it creates are closer than say 5ms, and :combining those on the outgoing wire, for a max of 10. This would yield :a max delay of 50ms, which I think would not really be noticeable. : :Alex : :--

Re: on/off NFS connection errors

2001-12-17 Thread Matthew Dillon
:For a while I have been treating this as an annoyance, but I thought it :would be wise to investigate if something larger and more nefarious might :be being indicated by this. : :I have a mixed environment of mainly Linux boxen, with a dozen or so :FreeBSD machines (For when we need the kind of

Re: HEADS UP! GENERIC/Kernel configs using maxusers of 0 willautosize but require new config binary.

2001-12-19 Thread Matthew Dillon
: :On Thu, 13 Dec 2001, Matthew Dillon wrote: : :> The simplified version of the maxusers auto-sizing has been MFCd but :> people need to be aware that to use it you need to update your kernel :> source AND recompile /usr/src/usr.sbin/config. : :So will the following sequence be

Re: Matt Dillon: cvs commit: src/sys/kern vfs_bio.c src/sys/nfs nfs.h nfs_bio.c nfs_vnops.c src/sys/vm vm_page.c vnode_pager.c

2001-12-20 Thread Matthew Dillon
: :Ah, I withdraw my concerns about issue #1 then. Now we're just down :to the floppy overflow issue. :) : :- Jordan What was issue #1 ? -Matt Matthew Dillon &l

Re: Matt Dillon: cvs commit: src/sys/kern vfs_bio.c src/sys/nfs nfs.h nfs_bio.c nfs_vnops.c src/sys/vm vm_page.c vnode_pager.c

2001-12-20 Thread Matthew Dillon
to sign off on it. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message

Re: Matt Dillon: cvs commit: src/sys/kern vfs_bio.c src/sys/nfs nfs.h nfs_bio.c nfs_vnops.c src/sys/vm vm_page.c vnode_pager.c

2001-12-20 Thread Matthew Dillon
he release engineers) version of the patch. If that succeeds I will want the re's to sign off on it. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe

Re: 4.4-STABLE crashes - suspects new ata-driver over wd-drivers

2001-12-20 Thread Matthew Dillon
:I induced the crash by running "make clean; make buildworld" in one :infinite loop and "portsdb -Uu" in another. That string occurs in a :bunch of makefiles in /usr/ports. Some of the occurences in the core :are clearly from them, but many of them are surrounded by binary :data. I recursively gre

Re: My first 4.5-PRERELEASE Issue

2001-12-22 Thread Matthew Dillon
:> > Ever since I made world/kernel I've been getting small hangs in my :> > internet connection. These messages have started appearing in my logs :> > as well: sio0: 1 more silo overflow (total 1257) :> > sio0: 1 more silo overflow (total 1258) :> > sio0: 1 more silo overflow (tota

Re: 4.5-PRERELEASE NFS Problem

2001-12-22 Thread Matthew Dillon
:I'm seeing problems with NFS serving over UDP in a 4.5-PRERELEASE :system. The problem seems to be in readdir or perhaps stat. I can't ls :a directory that's mounted via UDP. I can read files. The problem :goes away with TCP mounts. I had problems with both FBSD 4.4 and Solaris :2.8 clients.

  1   2   >