geli still broken on latest 9.* from svn

2013-10-07 Thread Wojciech Puchar
is it planned to fix or should i just treat some non latest 9.* release as the last non-broken one, and just apply security fixes manually? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: After the FreeBSD VM crash, file system in VM got rolled back to some old previous state causing data loss

2013-08-07 Thread Wojciech Puchar
I hit this unexpected problem: my host had an ungraceful shutdown while FreeBSD 9.1 STABLE was running in the VirtualBox VM. After reboot of the host and VM, local ufs file system was missing all recent updates for at least 20 hours (!!!) My question is, how is this possible? Is this related to

Re: Kern.hz= +1 hertz at anything 2500 and above.

2013-07-25 Thread Wojciech Puchar
improved with a higher kern.hz rating. Unless the future holds an emu20k2, there will be RAM used from the motherboard. 1. I will need a real-time or a faster kernel- hence the high rate wanted- because the devices to be built will be used in an active environment: art, music, audio control. 2.

Re: writing a rc.d script

2013-07-09 Thread Wojciech Puchar
any other script is a template. man rc is your documentation On Sun, 7 Jul 2013, Aryeh Friedman wrote: I have a program I am making a port for that also requires a /usr/local/etc/rc.d script is there anywhere I can find documentation on how write one and/or a template file to follow?

Re: hw.physmem/hw.realmem question

2013-07-02 Thread Wojciech Puchar
AMD Features2=0x1LAHF TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 32191340544 (30700 MB) 2GB memory disappears too even when you don't set anything. i asked such a question for other machine some time ago without much answer. in

Re: what's got messed with geli in newest 9.* kernel (svn)

2013-06-30 Thread Wojciech Puchar
really nobody use geli. tried today - still geli crash system within a minute. On Fri, 21 Jun 2013, Wojciech Puchar wrote: after getting yesterday new kernel, upgrading everything (including userland, all in sync) my geli encrypted partition starts to randomly produce read/write errors

what's going on after upgrade to svn-latest 9.

2013-06-21 Thread Wojciech Puchar
i'm getting this on my computer. disk seems OK, smart shows nothing, dd reads whole partition without problem. no other errors from disk itself (AHCI timeout or so). started exactly after i rebooted with new kernel. everything unchanged. userland is in sync thanks for help

what's got messed with geli in newest 9.* kernel (svn)

2013-06-21 Thread Wojciech Puchar
after getting yesterday new kernel, upgrading everything (including userland, all in sync) my geli encrypted partition starts to randomly produce read/write errors (error number 11) or just random reboots. going back to kernel compiled from 6 day older sources fixes everything. evidently a

Re: how do I build a single app?

2013-06-18 Thread Wojciech Puchar
I installed FreeBSD into a VirtualBox VM in January and started playing with the code. I must complement you people on the clarity of your code. I've enjoyed examining it. I wanted to try some code changes to some of the apps in the /bin directory, but can't figure out how to build a single

Re: 3955MiB of swap space

2013-06-02 Thread Wojciech Puchar
warning: total configured swap (1178880 pages) exceeds maximum recommended amount (1012480 pages). warning: increase kern.maxswzone or reduce amount of swap. I am yet to hear whether the warning is safe to ignore. Which one of the following is true? (1) Only 3955MiB of swap space will be

Re: seeding randomness in zee cloud

2013-06-01 Thread Wojciech Puchar
Or is there a cleaner way to add a additional seed as a one-off with disturbing as little as possible (in the few seconds just after the network is brought up). If this needs to be done automatically, not really. If there's a person available, you could use the please type a screen full of

Re: seeding randomness in zee cloud

2013-05-31 Thread Wojciech Puchar
.. snipped... # Seed Software random generator # cat rnd /dev/random # Activate software random generator as an additional source sysctl kern.random.sys.harvest.swi=1 Or does this cause a loss/reset of all entropy gathered by the hardware sofar

Re: 3955MiB of swap space

2013-05-28 Thread Wojciech Puchar
prefer to repartition the drives for them to have swap partitions each of size (3955/4)MiB. By the way, is swapping distributed evenly among the drives? How? Is there a yes. downfall when one of the drives is outstandingly slow? no really. sometimes swapin would be slower, 3/4 times of

Re: FreeBSD installers and future direction

2013-05-27 Thread Wojciech Puchar
I heard there was some discussion at BSDCan about the direction of a future FreeBSD installer. Considering we currently have bsdinstall, pc-sysinstall, the best would be removing it at all and adding instruction how to install by hand. At least someone that install FreeBSD will know what

stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
how to redirect recipient address. i mean - if someone try to send to x...@y.pl from serwer then it should be redirected to local account, while the rest of mails to domain @y.pl should get out normally. alternatively outgoing mail to x...@y.pl should be rejected. tried access.db -

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
To:x...@y.pl REJECT doesn't work any idea. thank you Don't use /etc/mail/access, use /etc/mail/aliases. E.g.: x: /dev/null x is NOT on my server. it will not work. all i want is when someone send a mail from my server to x...@y.pl (which is someone else domain) it will not get

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
all i want is when someone send a mail from my server to x...@y.pl (which is someone else domain) it will not get there and be blocked or redirected My bad, take a look at the /etc/mail/genericstable file: http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one will help you achieve your goal: j...@bar.comerror:5.7.0:550 Address invalid I was wrong again, sorry, but I believe I got it right this time: 1. Edit the /etc/mail/access file. 2. Insert a line

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
works fine after your advice. thank you very much. FEATURE(`access_db') FEATURE(`blacklist_recipients') On Fri, 24 May 2013, Claus Assmann wrote: On Fri, May 24, 2013, Trond Endrest?l wrote: [freebsd-hackers doesn't seem like the appropriate list...] FEATURE(access_db, `hash -o -TTMPF

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Wojciech Puchar
I've been read thousands of pages of FreeBSD and Linux Kernel source code and books on the internals of BSD and Linux over the years in attempt to develop a complete understanding of operating systems (or at least, UNIX like ones). However, I feel that I'm as mystified as to the finer details

Re: tape (sa0) on sparc64 ?

2013-05-17 Thread Wojciech Puchar
1:0x26:DDS-4 variable 97000DCLZ 2:0x26:DDS-4 variable 97000DCLZ 3:0x26:DDS-4 variable 97000DCLZ - Current Driver State: at rest. - File Number: 0

Re: ladmins that cannot type a command

2013-05-04 Thread Wojciech Puchar
On Sat, 4 May 2013, Alexander Yerenkow wrote: You still can't accept that there could be more than one point of view, and you show no respect to other's opinions. I know no projects that actually worked and succeded if democracy were used to decide about it's direction.

Re: ladmins that cannot type a command

2013-05-04 Thread Wojciech Puchar
Since this will enable more people to run FreeBSD that otherwise wouldn't give it a second glance, I would say it is VERY useful. Really? How useful is FreeBSD going to be to someone who cannot type? Who is the target here? Idiots? People without fingers? that's exactly what i mean here.

Re: ladmins that cannot type a command

2013-05-04 Thread Wojciech Puchar
spending your time polishing the wheels. You need to spend more time writing patches rather than telling other people what not to do. We're (nearly) all volunteers. If you think something needs fixing, you can have a go yourself or pay someone, but do NOT tell someone that their contribution

Re: ladmins that cannot type a command

2013-05-04 Thread Wojciech Puchar
or partially. Then I gave a try Kde accessibility and found out that it's not quite ready for real usage. But it was something, at least. About Gui I always think it's better to have it than not. Not true. GUI is only a problem. you may just make your fonts larger using xterm.

Re: My GSOC proposal for review

2013-05-03 Thread Wojciech Puchar
point c. is what i would like the most and is really the most important for NON embedded system. others for embedded ones. d. won't really cut much f. may not save much but slow things down i wish you a success. On Thu, 2 May 2013, Amit Rawat wrote: Hi, I am attaching my gsoc proposal with

Re: GSoC: PKGNG GUI Proposal Available for Review

2013-05-03 Thread Wojciech Puchar
good for today and future ladmins that cannot type a command. Any USEFUL proposals that add some real functionality? On Fri, 3 May 2013, Justin Edward Muniz wrote: Thank you everyone for helping me create a suitable project to propose. I have submitted a draft of my proposal, though I am

Re: GSOC: Qt front-end for freebsd-update

2013-04-14 Thread Wojciech Puchar
I am a CS major and have experience with Qt, C++ and shell scripting. I have been developing on FreeBSD for several years, and I am looking to tackle developing a new Qt front-end for the freebsd-update command. spend your time for something more useful :)

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Wojciech Puchar
How do your tests work? Do you examine PTEs directly to check for superpages or are you relying on the vm.pmap.pde sysctls? the later. anyway - algorithm described on list - that heuristics detects consecutive page access doesn't really help the urgent case - RANDOM access to large amount

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-09 Thread Wojciech Puchar
happy that FreeBSD is among the selected organization. I am a third year student interested to work in the field of embedded system. I applied last year and the title of my project was Kernel Size why only in embedded system. smaller programs are always good :) And yes FreeBSD kernel is huge.

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-09 Thread Wojciech Puchar
And yes FreeBSD kernel is huge. doesn't really matter with 1GB or more RAM but yes - it is huge even relative to linux. Ah, any insight as to why? my custom compiled kernel: -r-xr-xr-x 1 root wheel 8791402 6 kwi 22:08 /boot//kernel/kernel only with features i need. linux is AFAIK like

Re: Multiple page size support on FreeBSD?

2013-04-08 Thread Wojciech Puchar
Superpage promotion happens automatically when consecutive data are accessed according to the proper heuristic. and in practice - unless there are only few processes, never really works. this is a result of my own tests. ___

Re: considering i386 as a tier 1 architecture

2013-04-01 Thread Wojciech Puchar
Computers are getting faster, but also more memory intensive. I can not find a laptop with less than 4 or 8 GB of RAM. Modern browsers, such as Firefox, require a 64bit architecture and 8GB of RAM. what? i rarely see firefox exceed 1GB and it is already way too much IMHO. ? A 32 bit

Re: considering i386 as a tier 1 architecture

2013-04-01 Thread Wojciech Puchar
that it is NOT necessary to make it a first class branch . 1 Giga Bytes , and even 2 Giga Bytes memory chips are disappearing from the computer shops slowly . at now 2GB RAM is smallest you can get, and intel atom is lowest end - but still 64-bit - CPU. At present , there is NO any

Re: considering i386 as a tier 1 architecture

2013-04-01 Thread Wojciech Puchar
WP still 64-bit - CPU. It is not exact so. Some Atoms on some motherboards with some firmwares are 64-bit CPU. don't know of any now in shops that are not -- // Black Lion AKA Lev Serebryakov l...@freebsd.org ___ freebsd-hackers@freebsd.org

Re: considering i386 as a tier 1 architecture

2013-04-01 Thread Wojciech Puchar
You should also check your calendar :) This is one of the finest pieces of April Fools' Day trolling I've seen in quite some time. I'd rank it right up there with that press release from some years ago about Microsoft's acquisition of the Roman Catholic Church. anyway Easter at 1 april for me

Re: Help porting Linux app - getting Free Memory and Real Memory

2013-03-29 Thread Wojciech Puchar
I'm working on a port I maintain and the code has drastically changed. Everything is going we except that the program gives warnings that there isn't enough free memory on the system to perform certain actions. The program uses Linux call to /proc/meminfo to get this information. this is just a

snd_geode - where it is

2013-03-13 Thread Wojciech Puchar
i found it mentioned on older mailing list archives. Unfortunately all links to source are dead. There is no such driver now in FreeBSD-9. Is there any reason that it was removed, or it wasn't commited at all? any place where i can get it? ___

recent FreeBSD 9 kernel breaks fusefs-kmod

2013-03-10 Thread Wojciech Puchar
Before about 3 months ago or so, fusefs-kmod worked fine under FreeBSD 9. Now, with newest 9 it doesn't on amd64. It works fine on i386. on amd64 i can do ntfsmount but the mountpoint is not a directory and all i can do is to unmount. tried exactly the same version of fusefs-kmod, as well as

Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
i am asking for ca 800 tun(4) interfaces active but no more than 250Mbit/s over them total. Do you hit CPU limits at that point? i am not because i don't do this now, and ask BEFORE planning. Adrian ___ freebsd-hackers@freebsd.org mailing

Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
You wrote 8 ? 2013 ?., 20:14:59: WP i am not because i don't do this now, and ask BEFORE planning. I know ISP, who uses FreeBSD with mpd5 as BRAS for PPPoE. They uses exactly what i want, just with vtun. So it will go fine. thank you. ___

Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
very usable at that point, ifconfig aside). The interfaces are a linked list, plus there's a separate kernel dive for each interface. The list (as opposed to individual interfaces) is i don't care how fast ifconfig displays them, just for how fast things like routing or ipfw rule like via

Re: gjournal +UFS - anyone actually use it?

2013-03-07 Thread Wojciech Puchar
Interesting I will have to try this; can you post the exact test steps . Also what type of controller were you using and what kernel / version . intel atom D525 builtin ahci0: Intel ICH7 AHCI SATA controller port 0x20b8-0x20bf,0x20cc-0x20cf,0x20b0-0x20b7,0x20c8-0x20cb,0x20a0-0x20af mem

lots of network interfaces

2013-03-07 Thread Wojciech Puchar
are there any scalability limits in case of lots of network interfaces. i am asking for ca 800 tun(4) interfaces active but no more than 250Mbit/s over them total. ___ freebsd-hackers@freebsd.org mailing list

Re: gjournal +UFS - anyone actually use it?

2013-03-06 Thread Wojciech Puchar
I was using it to store large MySQL myisam tables , speed was acceptable at the time . I never had any fs corruption and it worked as expected . At the time I set it up I remember there was some chatter about how slow gjournal was compared to ufs with softupdate . did some tests yesterday

gjournal +UFS - anyone actually use it?

2013-03-05 Thread Wojciech Puchar
if yes - how about performance on production server. i think about journal on SSD. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: attaching iscsi (or ggate) disk before mounting root

2013-02-26 Thread Wojciech Puchar
thank you very much. i solved that problem other way, finally ending in NFS root. but i still need raw block device as swap device, which will (rarely) be in active use. What do you recommend - iscsi or geom_gate. the latter is 100 times more simple, and i like simple solutions. but

attaching iscsi (or ggate) disk before mounting root

2013-02-23 Thread Wojciech Puchar
how to do it? ___ 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

TFTP single file kernel load

2013-02-23 Thread Wojciech Puchar
can it be done? converting ELF kernel (i don't use kld modules) to format that can be loaded directly over TFTP - without intermediate stages like loader(8)? just to have SINGLE FILE that tftp would load and run. no loader(8) etc. ___

Re: TFTP single file kernel load

2013-02-23 Thread Wojciech Puchar
Basically what needs doing is to link the kernel with a modified ldscript that doesn't add space for the program headers, and then run the output of that link through objcopy -S -O binary to create a kernel.bin file. That file can be directly loaded to the address it was linked for, and a jump

Sound driver for Wyse S50

2013-02-23 Thread Wojciech Puchar
with Geode CS5535 processor. any idea? tried kldload every driver from generic kernel - nothing attaches. no support or is there a support just not in base system? ___ freebsd-hackers@freebsd.org mailing list

blocking teamviewer trojan

2013-02-21 Thread Wojciech Puchar
anyone have tested method on doing this? tried blocking port 5938 as well as teamviewer.com domain in squid (and all port 80 traffic is already forwarded to squid). Still doesn't work. thanks for any help. ___ freebsd-hackers@freebsd.org mailing

Re: blocking teamviewer trojan

2013-02-21 Thread Wojciech Puchar
sorry for polluting a list. i've got somewhat worried about general human stupidity. On Thu, 21 Feb 2013, Chris Rees wrote: On 21 Feb 2013 16:22, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: anyone have tested method on doing this? tried blocking port 5938 as well

Re: Chicken and egg, encrypted root FS on remote server

2013-02-20 Thread Wojciech Puchar
Geli can ask for a root password at the console to unlock the root fs but that of course won't work for a remote server. Ideally I'd like the server to start, do minimal network config, run a minimal ssh client (dropbear?) and wait for someone to log in, provide the passphrase to unlock the root

rsh/rlogin strange behavior

2013-02-14 Thread Wojciech Puchar
i use rsh/rlogin regularly within LAN and over encrypted tunnels it works generally fine but have strange behavior when i output long amount of text in console (eg. cat bigfile), where long is like 20kB it a) display part of it and hangs (i have to kill rlogin) - rarely b) display part of it

RE: rsh/rlogin strange behavior

2013-02-14 Thread Wojciech Puchar
repeat 100 rsh host date HINT: Set yourself up in /etc/hosts.equiv on host for password-less entry Repeat about 5 or 6 times and then eventually the connection will hang and you won't be able to make more connections for some time. Next step? Execute netstat -an | less and look for oddities

RE: rsh/rlogin strange behavior

2013-02-14 Thread Wojciech Puchar
systat -iostat 1 not a disk for sure. not even use everything needed already cached netstat 1 # netstat -I tun3 1 input (tun3) output packets errs idrops bytespackets errs bytes colls 1 0 0 52 1 0

disk errors on heavy write I/O

2013-02-13 Thread Wojciech Puchar
when doing lots of writes (large file) after few tens of gigabytes i've got as below. smartctl -t long (full surface test) reports no errors my disk is ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: SAMSUNG HD154UI 1AG01118 ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x,

Re: building select ports for packaging on install media

2013-02-12 Thread Wojciech Puchar
cdrom. What I'd like to do is augement that CD-ROM image with several binary packages, so I can just install them via 'sysinstall', rather than having to maintain a /usr/ports tree on every host and compile the same software again and again... why not just use pkg_add?

gstripe

2013-02-03 Thread Wojciech Puchar
option -s stripe size - what is stripe size? if i stripped 4 devices with -s $[512*1024*1024] then does it mean that 1) it will take 512MB from device 1, then 512MB from device 2, then 512MB from device 3 then 512MB from device 4 or 2) it will take 128MB from each for 512MB total

receiving aerial digital TV

2013-02-01 Thread Wojciech Puchar
i am out of current knowledge about common TV for about 10 years. Currently in Poland there is aerial TV broadcasted in DVB-T standard. There are TVs with builtin decoder/demodulator or separate decoders/demodulator with HDMI output. But how about just receiving demodulated data and letting

HDD write cache

2013-02-01 Thread Wojciech Puchar
after reading quite recent topics about disabling/enabling write cache, i tried to test in on desktop 3.5 drive kern.cam.ada.write_cache: 1 kern.cam.ada.read_ahead: 1 kern.cam.ada.0.read_ahead: -1 kern.cam.ada.0.write_cache: -1 i tried writing 1 or 0 to kern.cam.ada.0.write_cache, and there

Re: HDD write cache

2013-02-01 Thread Wojciech Puchar
registered. Try setting the values in /boot/loader.conf if you haven't already? You can check the actual status of the disk itself using:- camcontrol identify ada0 this proved your statement. will check it out at next reboot. Regards Steve - Original Message - From: Wojciech

Re: HDD write cache

2013-02-01 Thread Wojciech Puchar
Steve - Original Message - From: Wojciech Puchar after reading quite recent topics about disabling/enabling write cache, i tried to test in on desktop 3.5 drive kern.cam.ada.write_cache: 1 kern.cam.ada.read_ahead: 1 kern.cam.ada.0.read_ahead: -1 kern.cam.ada.0.write_cache: -1 i tried

Xorg help

2013-01-31 Thread Wojciech Puchar
long time ago with CRT monitors i used xvidtune and defined my modeline based on existing one. With LCD laptop Xorg automatically selected good one. Now with desktop and new LG monitor capable of 1920x1080 it uses 1024x768 no possible modelines are displayed and i have no idea how to set it

Re: Xorg help

2013-01-31 Thread Wojciech Puchar
xf86-video-intel29 is not supported. It was used for a short time when gem/kms was still developed. I have no idea what graphics card your atom comes with, it has integrated graphics, but you have to find out vgapci0@pci0:0:2:0: class=0x03 card=0x574d8086 chip=0xa0018086 rev=0x02

Re: Xorg help

2013-01-31 Thread Wojciech Puchar
What driver should i use with Atom D525? xf86-video-intel29 is the only one that works, in spite of market as not supported. Citing https://wiki.freebsd.org/Intel_GPU Required usermode components are available in the ports tree, you need to add WITH_NEW_XORG=true and WITH_KMS=true to

RE: Xorg help

2013-01-31 Thread Wojciech Puchar
Hi, We use LG Flatron at $work (tho not wide-aspect like the model you mention -- read: we run our LG Flatron LCDs at 1600x1200). I've had a little experience in working on higher definitions tho (like 1920x1080). Very first thing I do is I run xrandr with no arguments to see if the mode

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-25 Thread Wojciech Puchar
here is my real world production example of users mail as well as documents. /dev/mirror/home1.eli      2788 1545  1243    55% 1941057 20981181    8%   /home Not the same data, I imagine. A mix. 90% Mailboxes and user data (documents, pictures), rest are some .tar.gz

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-24 Thread Wojciech Puchar
then stored on a different disk. You could think of it as a regular RAID-5 with stripe size of 32768 bytes. PostgreSQL uses 8192 byte pages that fit evenly both into ZFS record size and column size. Each page access requires only a single disk read. Random i/o performance here should be 5

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-24 Thread Wojciech Puchar
several small files at once, does the transaction use a record, or does each file need to use a record? Additionally, if small files use sub-records, when you delete that file, does the sub-record get moved or just wasted (until the record is completely free)? writes of small files are always

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-24 Thread Wojciech Puchar
So far I've not lost a single ZFS pool or any data stored. so far my house wasn't robbed. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-24 Thread Wojciech Puchar
There are 3,236,316 files summing to 97,500,008,691 bytes. That puts the average file at 30,127 bytes. But for the full breakdown: quite low. what do you store. here is my real world production example of users mail as well as documents. /dev/mirror/home1.eli 2788 1545 124355%

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
While RAID-Z is already a king of bad performance, I don't believe RAID-Z is any worse than RAID5. Do you have any actual measurements to back up your claim? it is clearly described even in ZFS papers. Both on reads and writes it gives single drive random I/O performance.

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
This is because RAID-Z spreads each block out over all disks, whereas RAID5 (as it is typically configured) puts each block on only one disk. So to read a block from RAID-Z, all data disks must be involved, vs. for RAID5 only one disk needs to have its head moved. For other workloads

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
I've heard this same thing -- every vdev == 1 drive in performance. I've never seen any proof/papers on it though. read original ZFS papers. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
gives single drive random I/O performance. For reads - true. For writes it's probably behaves better than RAID5 yes, because as with reads it gives single drive performance. small writes on RAID5 gives lower than single disk performance. If you need higher performance, build your pool out

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
1 drive in performance only applies to number of random i/o operations vdev can perform. You still get increased throughput. I.e. 5-drive RAIDZ will have 4x bandwidth of individual disks in vdev, but unless your work is serving movies it doesn't matter.

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
associated with mirroring. Thanks for the link, but I could have done that; I am attempting to explain to Wojciech that his habit of making bold assertions and as you can see it is not a bold assertion, just you use something without even reading it's docs. Not mentioning doing any more

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-23 Thread Wojciech Puchar
even you need normal performance use gmirror and UFS I've no objection. If it works for you -- go for it. both works. For todays trend of solving everything by more hardware ZFS may even have enough performance. But still it is dangerous for a reasons i explained, as well as it promotes

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-21 Thread Wojciech Puchar
Please don't misinterpret this post: ZFS's ability to recover from fairly catastrophic failures is pretty stellar, but I'm wondering if there can be from my testing it is exactly opposite. You have to see a difference between marketing and reality. a little room for improvement. I use RAID

Re: IBM blade server abysmal disk write performances

2013-01-21 Thread Wojciech Puchar
Interesting. Is there a way to tell, other than coming up with some way to actually test it, whether a particular drive waits until my crappy laptop hard drive behave the same no matter if i turn write cache on, off or leave default. seems like it is always on.

Re: IBM blade server abysmal disk write performances

2013-01-21 Thread Wojciech Puchar
With SATA vs SAS, the gap is much narrower. The TCQ command set (still used by SAS) is still better than the NCQ command set, but the in what point TCQ is exactly better than SATA NCQ. ___ freebsd-hackers@freebsd.org mailing list

Re: IBM blade server abysmal disk write performances

2013-01-21 Thread Wojciech Puchar
I've had my share of sudden UPS failures over the years. Probably more everything can fail. That's why serious sysadmins do proper backup, no matter what safety features are used in their servers. ___ freebsd-hackers@freebsd.org mailing list

Re: IBM blade server abysmal disk write performances

2013-01-19 Thread Wojciech Puchar
Turning the write cache off eliminates the risk of having the write cache on. this sentence sounds like not having a car eliminates a risks of driving. ___ freebsd-hackers@freebsd.org mailing list

Re: IBM blade server abysmal disk write performances

2013-01-19 Thread Wojciech Puchar
I remember those drives from some 20 years ago. Before that time, SCSI and IDE drives were independently developed and SCSI drives offered way yes. 20 years ago it was true. even in 1995, when i had SCSI controller in my 486 and it was great compared to ATA. today SATA and SAS are mostly

Re: IBM blade server abysmal disk write performances

2013-01-19 Thread Wojciech Puchar
to be enabled to get any speed-up from tagged commands. This was no risk with SCSI drives, since the cache did not make the drives lye i see no correlation between interface type and possibility of lying about command completion. ___

Re: stupid UFS behaviour on random writes

2013-01-18 Thread Wojciech Puchar
But I doubt that such a change would improve performance in the you doubt but i am sure it would improve it a lot. Just imagine multiple VM images on filesystem, running windoze with 4kB cluster size, each writing something. no matter what is written from within VM it ends up as read

Re: IBM blade server abysmal disk write performances

2013-01-18 Thread Wojciech Puchar
The default value, -1, instructs the driver to leave the STA drives at their configuration default.  Often times this means that the MPT BIOS will turn off the write cache on every system boot sequence.  IT DOES THIS FOR A GOOD REASON!  An enabled write cache is counter to data reliability.  

Re: IBM blade server abysmal disk write performances

2013-01-18 Thread Wojciech Puchar
disk would write data I suspect that I'm encountering situations right now at netflix where this advice is not true.  I have drives that are seeing intermittent errors, then being forced into reset after a timeout, and then coming back up with filesystem problems.  It's only a suspicion at

Re: IBM blade server abysmal disk write performances

2013-01-18 Thread Wojciech Puchar
That is incorrect. A UPS reduces the risk, but does not eliminate it. nothing eliminate all risks. But for most applications, you must have the write cache off, and you need queuing (e.g. TCQ or NCQ) for performance. If you have queuing, there is no need to turn the write cache on. did you

Re: IBM blade server abysmal disk write performances

2013-01-18 Thread Wojciech Puchar
and anyone who enabled SATA WC or complained about I/O slowness would be forced into Siberian salt mines for the remainder of their lives. so reserve a place for me there. ___ freebsd-hackers@freebsd.org mailing list

Re: disadvantages of running 8.3 kernel on freebsd 8.2 system

2013-01-17 Thread Wojciech Puchar
- What are specific disadvantages that i can see clearly, running 8.3 kernel on freebsd 8.2? no idea. just get latest -8 sources, compile world and kernel and install. all newest and in sync. ___ freebsd-hackers@freebsd.org mailing list

Re: IBM blade server abysmal disk write performances

2013-01-17 Thread Wojciech Puchar
Note that the driver says Command Queueing enabled without specifying which. If the driver is trying to use SATA's NCQ but the drive only speaks SCSI's TCQ, that could explain it. Or if the TCQ isn't working for some other reason. even without TCQ,NCQ and write cache the write speed is really

Re: off topic but no idea where to ask

2013-01-17 Thread Wojciech Puchar
from first local disk at 0x07c00 and booting as with normal hard drive. instead of pxeboot, try giving /boot/boot0 works, except of delay. fixed from sources for 1s delay :) ___ freebsd-hackers@freebsd.org mailing list

Re: disadvantages of running 8.3 kernel on freebsd 8.2 system

2013-01-17 Thread Wojciech Puchar
Are you simply apprehensive over the time of buildworld? no idea what you mean - my english isn't perfect. I normally have latest binaries and generic kernel built for FreeBSD 8 which i use on servers (don't upgrade now as it works and there is no need to). I have .tar.gz file with

Re: off topic but no idea where to ask

2013-01-17 Thread Wojciech Puchar
may the source be with you :-) btw, the above works for MBR, if you use GPT then you should use pmbr. they are windoze workstations only. and with FreeBSD i too don't have to use GPT strangeness fortunately. ___ freebsd-hackers@freebsd.org mailing

stupid UFS behaviour on random writes

2013-01-17 Thread Wojciech Puchar
create 10GB file (on 2GB RAM machine, with some swap used to make sure little cache would be available for filesystem. dd if=/dev/zero of=file bs=1m count=10k block size is 32KB, fragment size 4k now test random read access to it (10 threads) randomio test 10 0 0 4096 normal result on

Re: stupid UFS behaviour on random writes

2013-01-17 Thread Wojciech Puchar
I'd argue that using an I/O size smaller than the file system block size is simply sub-optimal and that most apps. don't do random I/O of blocks. OR If you had an app. that does random I/O of 4K blocks (at 4K byte offsets), then using a 4K/1K file system would be better. i can just use raw

Re: IBM blade server abysmal disk write performances

2013-01-15 Thread Wojciech Puchar
1+0 records out 512 bytes transferred in 60.024997 secs (85298 bytes/sec) 1 ops in 60 seconds is practically the definition of a 10k drive. nonsense. ___ freebsd-hackers@freebsd.org mailing list

  1   2   3   4   5   >