search for: pixelb

Displaying 6 results from an estimated 6 matches for "pixelb".

Did you mean: pixel
2013 Oct 23
1
Re: [PATCH 1/2] Preallocate output file
...gt; > I know this isn't related to your patch, > but I don't think you can set a flag like this. > These are rather operations that need to be done > while writing I think. > > For ref I made the above call after writing various chunks to disk in: > https://github.com/pixelb/dvd-vr/blob/master/dvd-vr.c#L322 > and also dd: > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=5f31155 This does explain why the posix_fadvise call has no effect. How about POSIX_FADV_RANDOM? I would have thought that should be done before the write operations ... > B...
2013 Oct 22
2
[PATCH 1/2] Preallocate output file
--- pxzcat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pxzcat.c b/pxzcat.c index 4ab8689..9bcdc36 100644 --- a/pxzcat.c +++ b/pxzcat.c @@ -29,10 +29,11 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#define _GNU_SOURCE #include <config.h>
2013 Oct 23
0
Re: [PATCH 1/2] Preallocate output file
...OSIX_FADV_RANDOM|POSIX_FADV_DONTNEED); I know this isn't related to your patch, but I don't think you can set a flag like this. These are rather operations that need to be done while writing I think. For ref I made the above call after writing various chunks to disk in: https://github.com/pixelb/dvd-vr/blob/master/dvd-vr.c#L322 and also dd: http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=5f31155 BTW dd has this as an option, and dvd-vr is a specialized tool often handling large files, so in both these cases FADV_DONTNEED is appropriate. If pxzcat will always be used for vir...
2014 Dec 18
4
Samba4 on Ubuntu server
On 18/12/14 16:19, Germ van Eck wrote: > Not sure about the high CPU load, but you have the [netlogon] share > twice in your smb.conf. Your first matches mine, have you added the > second yourself? > The second one looks weird with 2 path definitions. > Cj Tibbetts schreef op do 18-12-2014 om 08:59 [-0700]: >> New to linux and new to Samba so any direction in troubleshooting
2014 Dec 19
0
Samba4 on Ubuntu server
...ine like > >*/5 * * * * date >> /root/memusage.txt && /path/to/ps_mem.py | grep >"samba\|mbd" >> /root/memusage.txt && echo -e "\n\n\n" >> >/root/memusage.txt > >You can download ps_mem at >https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py >This will give you a file named /root/memusage.txt and it will >add lines >every 5 mins with the total memory usage of samba. > >Ricky >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/m...
2014 Dec 22
2
Samba4 on Ubuntu server
...* * * date >> /root/memusage.txt && /path/to/ps_mem.py | grep > >"samba\|mbd" >> /root/memusage.txt && echo -e "\n\n\n" >> > >/root/memusage.txt > > > >You can download ps_mem at > >https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py > >This will give you a file named /root/memusage.txt and it will > >add lines > >every 5 mins with the total memory usage of samba. > > > >Ricky > >-- > >To unsubscribe from this list go to the following URL and read the > >in...