Junio C Hamano <gitster@pobox.com> writes:When I did my apprenticeship, one thing I learnt was that to accomplish a repetitive task comprised of several steps, you organize it in a way that does not require you to change the tool you are holding/using until you have finished using it. What's good for the user is good for the computer: even on single core systems, working off a complete pipeline buffer before switching context again will help keeping disk positioning and cache poisoning down. However, it will depend on the scheduler: if it never allows pipes to even slighly fill up (which has been the normal behavior of the Linux scheduler for years in spite of complaints I voiced several times), you don't get the advantages from this sort of processing. CFS could conceivably help in many use cases since then the context switch depends on more than just "pipe has some minimal content?" which is pretty much the worst choice for context switches in batch processing. However, as long as we are talking buffered I/O (FILE* and block buffering), we are losing some parallelism potential and gaining some blocking advantage. Possibly. After all, there _is_ overhead associated with pipes, and currently released kernels' scheduling behavior reaps no cache poisoning gains. Whatever. I think I'll do a large test. Speculation is not everything. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Woodhouse | Re: [PATCH] bnx2 - use request_firmware() |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Zdenek Kabelac | Problem: Out of memory after 2days with 2GB RAM |
| Florian Schmidt | blacklist kernel boot option |
git: | |
| Junio C Hamano | Re: git-show, was Re: What's in git.git (stable) |
| Daniel Berlin | git annotate runs out of memory |
| Eric Lesh | Re: .gitlink for Summer of Code |
| Petko Manolov | git and binary files |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Doug Evans | Re: Stabilizing Linux |
| drew | Re: Linux-0.12 |
| Stephen Pierce | SLS |
| Richard Stallman | Re: Real men don't attack straw men |
| Vim Visual | lenovo x61s bsd.mp Obsd 4.2 difficulties et al. |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Parvinder Bhasin | BIND and CNAME-ing |
