Re: Tuning /etc/sysctl.conf
Hi Steve, I use it as a paticular desktop PC. Well, if you need more details about it, please, let me know. What do you think about current tuning? Thanks --CJPM 2013/10/14 Carlos Jacobo Puga Medina > Mmm... just a correction in /etc/sysctl.conf, it seems that by mistake > I've copied a website link into the file. Sorry, it was a copy-paste error > :) > > % cat /etc/sysctl.conf > # $FreeBSD: release/9.2.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ > # > # This file is read when going to multi-user and its contents piped thru > # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. > # > > # Uncomment this to prevent users from seeing information about processes > that > # are being run under another UID. > #security.bsd.see_other_uids=0 > vfs.usermount=1 > hw.snd.default_unit=2 > kern.ipc.maxsockbuf=16777216 > kern.ipc.nmbclusters=32768 > kern.ipc.shm_allow_removed=1 > kern.ipc.somaxconn=8192 > kern.maxfiles=65536 > kern.maxfilesperproc=32768 > net.inet.tcp.blackhole=2 > net.inet.tcp.delayed_ack=0 > net.inet.tcp.path_mtu_discovery=0 > net.inet.tcp.recvbuf_auto=1 > net.inet.tcp.recvbuf_inc=16384 > net.inet.tcp.recvbuf_max=16777216 > net.inet.tcp.recvspace=65536 > net.inet.tcp.rfc1323=1 > net.inet.tcp.sendbuf_auto=1 > net.inet.tcp.sendbuf_inc=8192 > net.inet.tcp.sendspace=65536 > net.inet.udp.blackhole=1 > net.inet.udp.maxdgram=57344 > net.inet.udp.recvspace=65536 > net.local.stream.recvspace=65536 > net.local.stream.sendspace=65536 > net.inet.tcp.sendbuf_max=16777216 > net.inet.ip.random_id=1 > > # Allow for up 2 GB of wired memory. > vm.max_wired=524288 > > > > 2013/10/14 Carlos Jacobo Puga Medina > >> Hi people, >> >> I'm very interested to tuning /etc/sysctl.conf according to the >> specifications of my PC. I've been reading some guides [1], tutorials >> [2-3], Q&A [4] and the FreeBSD Handbook's related section 12.12 Tuning with >> sysctl(8), but I think it's much more convenient if I contrast it with >> other examples or experienced users. >> >> Here is my relevant info outputs for help to improve the sysctl(8) >> variables. >> >> % uname -a >> FreeBSD freebsd 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 >> 03:52:52 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC >> i386 >> >> % dmesg | grep CPU >> CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.06-MHz 686-class CPU) >> cpu0: on acpi0 >> p4tcc0: on cpu0 >> >> % dmesg | grep memory >> real memory = 2147483648 (2048 MB) >> avail memory = 2082701312 (1986 MB) >> >> % pciconf -lvv | grep -n2 Ethernet >> 41-sis0@pci0:0:4:0: class=0x02 card=0x80a71043 chip=0x09001039 >> rev=0x91 hdr=0x00 >> 42-vendor = 'Silicon Integrated Systems [SiS]' >> 43:device = 'SiS900 PCI Fast Ethernet' >> 44-class = network >> 45-subclass = ethernet >> >> My /etc/sysctl.conf >> >> # $FreeBSD: release/9.2.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux >> $ >> # >> # This file is read when going to multi-user and its contents piped thru >> # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. >> # >> >> # Uncomment this to prevent users from seeing information about processes >> that >> # are being run under another UID. >> #security.bsd.see_other_uids=0 >> vfs.usermount=1 >> hw.snd.default_unit=2 >> kern.ipc.maxsockbuf=16777216 >> kern.ipc.nmbclusters=32768 >> kern.ipc.shm_allow_removed=1 >> kern.ipc.somaxconn=8192 >> kern.maxfiles=65536 >> kern.maxfilesperproc=32768 >> net.inet.tcp.blackhole=2 >> net.inet.tcp.delayed_ack=0 >> net.inet.tcp.path_mtu_discovery=0 >> net.inet.tcp.recvbuf_auto=1 >> net.inet.tcp.recvbuf_inc=16384 >> net.inet.tcp.recvbuf_max=16777216 >> net.inet.tcp.recvspace=65536 >> net.inet.tcp.rfc1323=1 >> net.inet.tcp.sendbuf_auto=1 >> net.inet.tcp.sendbuf_inc=8192 >> net.inet.tcp.sendspace=65536 >> net.inet.udp.blackhole=1 >> net.inet.udp.maxdgram=57344 >> net.inet.udp.recvspace=65536 >> net.local.stream.recvspace=65536 >> net.local.stream.sendspace=65536 >> net.inet.tcp.sendbuf_max=16777216 >> net.inet.ip.random_id=1 >> >> http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel >> # Allow for up 2 GB of wired memory. >> vm.max_wired=524288 >> >> I will appreciate any input about the subject. >> --CJPM >> >> [1] http://harryd71.blogspot.com.es/2008/10/tuning-freenas-zfs.html >> [2] https://wiki.freebsd.org/SystemTuning#SYSCTL_TUNING >> [3] https://wiki.freebsd.org/NetworkPerformanceTuning >> [4] >> http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel >> > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Tuning /etc/sysctl.conf
Mmm... just a correction in /etc/sysctl.conf, it seems that by mistake I've copied a website link into the file. Sorry, it was a copy-paste error :) % cat /etc/sysctl.conf # $FreeBSD: release/9.2.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 vfs.usermount=1 hw.snd.default_unit=2 kern.ipc.maxsockbuf=16777216 kern.ipc.nmbclusters=32768 kern.ipc.shm_allow_removed=1 kern.ipc.somaxconn=8192 kern.maxfiles=65536 kern.maxfilesperproc=32768 net.inet.tcp.blackhole=2 net.inet.tcp.delayed_ack=0 net.inet.tcp.path_mtu_discovery=0 net.inet.tcp.recvbuf_auto=1 net.inet.tcp.recvbuf_inc=16384 net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.recvspace=65536 net.inet.tcp.rfc1323=1 net.inet.tcp.sendbuf_auto=1 net.inet.tcp.sendbuf_inc=8192 net.inet.tcp.sendspace=65536 net.inet.udp.blackhole=1 net.inet.udp.maxdgram=57344 net.inet.udp.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.tcp.sendbuf_max=16777216 net.inet.ip.random_id=1 # Allow for up 2 GB of wired memory. vm.max_wired=524288 2013/10/14 Carlos Jacobo Puga Medina > Hi people, > > I'm very interested to tuning /etc/sysctl.conf according to the > specifications of my PC. I've been reading some guides [1], tutorials > [2-3], Q&A [4] and the FreeBSD Handbook's related section 12.12 Tuning with > sysctl(8), but I think it's much more convenient if I contrast it with > other examples or experienced users. > > Here is my relevant info outputs for help to improve the sysctl(8) > variables. > > % uname -a > FreeBSD freebsd 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 > 03:52:52 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC > i386 > > % dmesg | grep CPU > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.06-MHz 686-class CPU) > cpu0: on acpi0 > p4tcc0: on cpu0 > > % dmesg | grep memory > real memory = 2147483648 (2048 MB) > avail memory = 2082701312 (1986 MB) > > % pciconf -lvv | grep -n2 Ethernet > 41-sis0@pci0:0:4:0: class=0x02 card=0x80a71043 chip=0x09001039 > rev=0x91 hdr=0x00 > 42-vendor = 'Silicon Integrated Systems [SiS]' > 43:device = 'SiS900 PCI Fast Ethernet' > 44-class = network > 45-subclass = ethernet > > My /etc/sysctl.conf > > # $FreeBSD: release/9.2.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ > # > # This file is read when going to multi-user and its contents piped thru > # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. > # > > # Uncomment this to prevent users from seeing information about processes > that > # are being run under another UID. > #security.bsd.see_other_uids=0 > vfs.usermount=1 > hw.snd.default_unit=2 > kern.ipc.maxsockbuf=16777216 > kern.ipc.nmbclusters=32768 > kern.ipc.shm_allow_removed=1 > kern.ipc.somaxconn=8192 > kern.maxfiles=65536 > kern.maxfilesperproc=32768 > net.inet.tcp.blackhole=2 > net.inet.tcp.delayed_ack=0 > net.inet.tcp.path_mtu_discovery=0 > net.inet.tcp.recvbuf_auto=1 > net.inet.tcp.recvbuf_inc=16384 > net.inet.tcp.recvbuf_max=16777216 > net.inet.tcp.recvspace=65536 > net.inet.tcp.rfc1323=1 > net.inet.tcp.sendbuf_auto=1 > net.inet.tcp.sendbuf_inc=8192 > net.inet.tcp.sendspace=65536 > net.inet.udp.blackhole=1 > net.inet.udp.maxdgram=57344 > net.inet.udp.recvspace=65536 > net.local.stream.recvspace=65536 > net.local.stream.sendspace=65536 > net.inet.tcp.sendbuf_max=16777216 > net.inet.ip.random_id=1 > > http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel > # Allow for up 2 GB of wired memory. > vm.max_wired=524288 > > I will appreciate any input about the subject. > --CJPM > > [1] http://harryd71.blogspot.com.es/2008/10/tuning-freenas-zfs.html > [2] https://wiki.freebsd.org/SystemTuning#SYSCTL_TUNING > [3] https://wiki.freebsd.org/NetworkPerformanceTuning > [4] > http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Tuning /etc/sysctl.conf
Hi people, I'm very interested to tuning /etc/sysctl.conf according to the specifications of my PC. I've been reading some guides [1], tutorials [2-3], Q&A [4] and the FreeBSD Handbook's related section 12.12 Tuning with sysctl(8), but I think it's much more convenient if I contrast it with other examples or experienced users. Here is my relevant info outputs for help to improve the sysctl(8) variables. % uname -a FreeBSD freebsd 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 % dmesg | grep CPU CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.06-MHz 686-class CPU) cpu0: on acpi0 p4tcc0: on cpu0 % dmesg | grep memory real memory = 2147483648 (2048 MB) avail memory = 2082701312 (1986 MB) % pciconf -lvv | grep -n2 Ethernet 41-sis0@pci0:0:4:0: class=0x02 card=0x80a71043 chip=0x09001039 rev=0x91 hdr=0x00 42-vendor = 'Silicon Integrated Systems [SiS]' 43:device = 'SiS900 PCI Fast Ethernet' 44-class = network 45-subclass = ethernet My /etc/sysctl.conf # $FreeBSD: release/9.2.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 vfs.usermount=1 hw.snd.default_unit=2 kern.ipc.maxsockbuf=16777216 kern.ipc.nmbclusters=32768 kern.ipc.shm_allow_removed=1 kern.ipc.somaxconn=8192 kern.maxfiles=65536 kern.maxfilesperproc=32768 net.inet.tcp.blackhole=2 net.inet.tcp.delayed_ack=0 net.inet.tcp.path_mtu_discovery=0 net.inet.tcp.recvbuf_auto=1 net.inet.tcp.recvbuf_inc=16384 net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.recvspace=65536 net.inet.tcp.rfc1323=1 net.inet.tcp.sendbuf_auto=1 net.inet.tcp.sendbuf_inc=8192 net.inet.tcp.sendspace=65536 net.inet.udp.blackhole=1 net.inet.udp.maxdgram=57344 net.inet.udp.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.tcp.sendbuf_max=16777216 net.inet.ip.random_id=1 http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel # Allow for up 2 GB of wired memory. vm.max_wired=524288 I will appreciate any input about the subject. --CJPM [1] http://harryd71.blogspot.com.es/2008/10/tuning-freenas-zfs.html [2] https://wiki.freebsd.org/SystemTuning#SYSCTL_TUNING [3] https://wiki.freebsd.org/NetworkPerformanceTuning [4] http://serverfault.com/questions/64356/freebsd-performance-tuning-sysctls-loader-conf-kernel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
iconv conversion fails
Hi folks, I have a problem with the iconv(1) conversion, despite it supporting the encoding charset ISO-8859-1 it throws the following error: unsupportedrsion from ISO-8859-1 iconv: try 'iconv -l' to get the list of supported encodings iconv(1) on BSD has: % iconv -l | grep ISO-8859-1 CP819 IBM819 ISO-8859-1 ISO-IR-100 ISO8859-1 ISO_8859-1 ISO_8859-1:1987 L1 LATIN1 CSISOLATIN1 ISO-8859-10 ISO-IR-157 ISO8859-10 ISO_8859-10 ISO_8859-10:1992 L6 LATIN6 CSISOLATIN6 ISO-8859-11 ISO8859-11 ISO_8859-11 ISO-8859-13 ISO-IR-179 ISO8859-13 ISO_8859-13 L7 LATIN7 ISO-8859-14 ISO-CELTIC ISO-IR-199 ISO8859-14 ISO_8859-14 ISO_8859-14:1998 L8 LATIN8 ISO-8859-15 ISO-IR-203 ISO8859-15 ISO_8859-15 ISO_8859-15:1998 LATIN-9 ISO-8859-16 ISO-IR-226 ISO8859-16 ISO_8859-16 ISO_8859-16:2001 L10 LATIN10 My .cshrc locale variables are: setenv LANG es_ES.UTF-8 setenv LC_ALL es_ES.UTF-8 This is the full log[1] of 'bash -x google-translate.sh' What I'm missing? --CJPM [1] http://pastebin.com/jjtC7VJk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"