Re: [Rpm-maint] [rpm-software-management/rpm] Adding an event loop in RPM to run asynchronous operations. (#258)

2017-08-07 Thread Jeff Johnson
@cgwalters when moving 100's of megabytes through a finite resource, there will 
be a measurable effect on the cache. that's true for any large I/O operation 
including rpm-ostree: have you run mincore to see how many pages are left in 
cache after syncfs? typically syncfs/sync guarantee write to disk, not removal 
from cache.

Meanwhile there are not non-blocking variants of fsync/fdatasync (which is 
essentially what an event loop provides, threads that can block, there are lots 
of ways to block without stopping an application), nor are there notification 
interfaces for any of these system calls.

Eliminating buffer bloat or adding priorities may improve performance, but will 
not solve the core issues, that filesystem durability/determinism increases 
reliability, and that 100's of Mb of I/O has an effect on system performance,.

The percentage of files that are generated by scripts in caches is vanishingly 
small when compared to static content imho. Wanna bet? ;-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/258#issuecomment-320761934___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-07 Thread Richard W.M. Jones
On Wed, Aug 02, 2017 at 01:09:15PM +0200, Mark Wielaard wrote:
> Do we want to be nicer to packages that don't include sources like this?
> Or should we just declare that this is probably a packaging issue (badly
> produced debuginfo) and improve the error message?

I just wanted to say that in the OCaml case, the error was useful as
it indicated a packaging bug [but you're right the error *message*
could be improved].  We were able to fix the broken packages by
ensuring that ā€˜-gā€™ was being passed to the compiler in all the
necessary places.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint