search for: 1mbyte

Displaying 20 results from an estimated 24 matches for "1mbyte".

Did you mean: mbyte
1999 Sep 21
2
Need some speed help - Linux to Win98 is slow
...;ve seen on this list with the speed problems. I noticed while printing to a smb printer from my Linux box tonight (which I just managed to get running) that the speed is horribly slow. I did some tests - the results follow. Transfer from Win98 to Linux ---------------------------- smb: \> get 1mbyte.txt getting file 1mbyte.txt of size 1024702 as 1mbyte.txt (772.134 kb/s) (average 772.134 kb/s) Transfer from Linux to Win98 ---------------------------- smb: \> put 1mbyte.txt putting file 1mbyte.txt as \1mbyte.txt (10.0143 kb/s) (average 10.0143 kb/s) After adding "socket options = TCP...
2016 Jul 27
2
[PATCH v2 repost 4/7] virtio-balloon: speed up inflate/deflate process
...); > + vb->bmap_len = ALIGN(vb->pfn_limit, BITS_PER_LONG) / > + BITS_PER_BYTE + 2 * sizeof(unsigned long); What are these 2 longs in aid of? > + hdr_len = sizeof(struct balloon_bmap_hdr); > + vb->bmap_hdr = kzalloc(hdr_len + vb->bmap_len, GFP_KERNEL); So it can go up to 1MByte but adding header size etc you need a higher order allocation. This is a waste, there is no need to have a power of two allocation. Start from the other side. Say "I want to allocate 32KBytes for the bitmap". Subtract the header and you get bitmap size. Calculate the pfn limit from there....
2016 Jul 27
2
[PATCH v2 repost 4/7] virtio-balloon: speed up inflate/deflate process
...); > + vb->bmap_len = ALIGN(vb->pfn_limit, BITS_PER_LONG) / > + BITS_PER_BYTE + 2 * sizeof(unsigned long); What are these 2 longs in aid of? > + hdr_len = sizeof(struct balloon_bmap_hdr); > + vb->bmap_hdr = kzalloc(hdr_len + vb->bmap_len, GFP_KERNEL); So it can go up to 1MByte but adding header size etc you need a higher order allocation. This is a waste, there is no need to have a power of two allocation. Start from the other side. Say "I want to allocate 32KBytes for the bitmap". Subtract the header and you get bitmap size. Calculate the pfn limit from there....
2002 Nov 06
0
Fw: Performance Problem
...the M$ TCPIP-stack version 1.02. > > All M$ drivers load fine, the 'net use' command works too. > > Then I start Symantecs 'ghost' to create an image from the clients HD and > > put it to the used Samba share on the server. > > The Performance is poooor (<1Mbyte/min), tests with a W2K server on the > same > > hardware showed better values (>200Mbyte/min) :-( . > > What can I do to improve this poor samba throughput??? > > > > Regards > > Ferdi > > > > -- > > +++ GMX - Mail, Messaging & more http...
2009 Jul 20
3
Limit RAM used by a perl script
I have a perl script which runs from a cron job. How would you limit the amount of RAM that this script is allowed to consume? Is there a ulimit setting that will accomplish this? If so does ulimit have to be run each time the script is run, or is there a way to set it permanently?
2016 Jul 28
0
[PATCH v2 repost 4/7] virtio-balloon: speed up inflate/deflate process
...(vb->end_pfn - vb->start_pfn) > vb->pfn_limit, so we need extra space to save the bitmap for this case. 2 longs are enough. > > + hdr_len = sizeof(struct balloon_bmap_hdr); > > + vb->bmap_hdr = kzalloc(hdr_len + vb->bmap_len, GFP_KERNEL); > > So it can go up to 1MByte but adding header size etc you need a higher order > allocation. This is a waste, there is no need to have a power of two allocation. > Start from the other side. Say "I want to allocate 32KBytes for the bitmap". > Subtract the header and you get bitmap size. > Calculate the p...
2020 Feb 06
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...Can be re-added if really needed. I agree. And to make this case even stronger: The oom_pages module parameter was known to be broken: whatever its value, we return at most VIRTIO_BALLOON_ARRAY_PFNS_MAX. So module parameter values > 256 never worked, and it seems highly unlikely that freeing 1Mbyte on OOM is too aggressive. There was a patch virtio-balloon: deflate up to oom_pages on OOM by Wei Wang to try to fix it: https://lore.kernel.org/r/1508500466-21165-3-git-send-email-wei.w.wang at intel.com but this was dropped. > Also, pay attention that leak_balloon() returns the number of 4k...
2020 Feb 06
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...Can be re-added if really needed. I agree. And to make this case even stronger: The oom_pages module parameter was known to be broken: whatever its value, we return at most VIRTIO_BALLOON_ARRAY_PFNS_MAX. So module parameter values > 256 never worked, and it seems highly unlikely that freeing 1Mbyte on OOM is too aggressive. There was a patch virtio-balloon: deflate up to oom_pages on OOM by Wei Wang to try to fix it: https://lore.kernel.org/r/1508500466-21165-3-git-send-email-wei.w.wang at intel.com but this was dropped. > Also, pay attention that leak_balloon() returns the number of 4k...
2016 Jul 28
1
[PATCH v2 repost 4/7] virtio-balloon: speed up inflate/deflate process
..._pfn) > vb->pfn_limit, so we need extra space to save the > bitmap for this case. 2 longs are enough. > > > > + hdr_len = sizeof(struct balloon_bmap_hdr); > > > + vb->bmap_hdr = kzalloc(hdr_len + vb->bmap_len, GFP_KERNEL); > > > > So it can go up to 1MByte but adding header size etc you need a higher order > > allocation. This is a waste, there is no need to have a power of two allocation. > > Start from the other side. Say "I want to allocate 32KBytes for the bitmap". > > Subtract the header and you get bitmap size. >...
2016 Jul 28
1
[PATCH v2 repost 4/7] virtio-balloon: speed up inflate/deflate process
..._pfn) > vb->pfn_limit, so we need extra space to save the > bitmap for this case. 2 longs are enough. > > > > + hdr_len = sizeof(struct balloon_bmap_hdr); > > > + vb->bmap_hdr = kzalloc(hdr_len + vb->bmap_len, GFP_KERNEL); > > > > So it can go up to 1MByte but adding header size etc you need a higher order > > allocation. This is a waste, there is no need to have a power of two allocation. > > Start from the other side. Say "I want to allocate 32KBytes for the bitmap". > > Subtract the header and you get bitmap size. >...
2013 Aug 21
1
Gluster 3.4 Samba VFS writes slow in Win 7 clients
...22854.10 KB/sec Min xfer = 10474880.00 KB linux client mount with cifs , write performance reach 480MB/s per client; but when i use win7 client mount the "gvol" with cmd: net use Z: \\192.168.100.133\gvol 123456 /user:kane then also use iozone test in dir Z, even with write block 1Mbyte : File size set to 10485760 KB Record Size 1024 KB Command line used: iozone -s 10G -r 1m -i0 -t 4 Output is in Kbytes/sec Time Resolution = -0.000000 seconds. Processor cache size set to 1024 Kbytes. Processor cache line size set to 32 bytes....
2001 Oct 26
4
Performance problem
We use some Samba servers running SuSE 7.1 and samba 2.2.1a. These servers are sometimes very slow while delivering data over the network. It is like a short sleep-mode followed by a wake up. We use Win 95, 98 and 98SE Clients. Any ideas? Thanks from germany, Andre Klocke -------------- next part -------------- HTML attachment scrubbed and removed
2020 Feb 06
0
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...> > I agree. And to make this case even stronger: > > The oom_pages module parameter was known to be broken: whatever its > value, we return at most VIRTIO_BALLOON_ARRAY_PFNS_MAX. So module > parameter values > 256 never worked, and it seems highly unlikely that > freeing 1Mbyte on OOM is too aggressive. > There was a patch > virtio-balloon: deflate up to oom_pages on OOM > by Wei Wang to try to fix it: > https://lore.kernel.org/r/1508500466-21165-3-git-send-email-wei.w.wang at intel.com > but this was dropped. Makes sense. 1MB is usually good enough. &gt...
2018 Mar 30
0
[PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command support
...; + > + if (block_size < 512 || !block_size) Why 512? And when is it 0? > + return -1; -1 isn't a normal errno code. > + > + range = kmalloc_array(segments, sizeof(*range), GFP_ATOMIC); This might be pretty large: with 64K segments it looks like you are trying to allocate ~1Mbyte with GFP_ATOMIC which is unlikely to succeed. Can we split this up in chunks? > + if (!range) > + return -1; > + > + __rq_for_each_bio(bio, req) { > + u64 sector = bio->bi_iter.bi_sector; > + u32 num_sectors = bio->bi_iter.bi_size >> 9; why 9? > + > + rang...
2018 Mar 30
2
[PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command support
Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES command support, this will impact the performance when using SSD backend over file systems. The idea here is using 16 Bytes payload as one descriptor for DISCARD/WRITE ZEROES command, users can put several ranges into one command, for the purpose to support such feature, two feature flags
2018 Mar 30
2
[PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command support
Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES command support, this will impact the performance when using SSD backend over file systems. The idea here is using 16 Bytes payload as one descriptor for DISCARD/WRITE ZEROES command, users can put several ranges into one command, for the purpose to support such feature, two feature flags
2008 Dec 08
5
How to use mbuffer with zfs send/recv
>> How do i compile mbuffer for our system, Thanks to Mike Futerko for help with the compile, i now have it installed OK. >> and what syntax to i use to invoke it within the zfs send recv? Still looking for answers to this one? Any example syntax, gotchas etc would be much appreciated. -- Kind regards, Jules free. open. honest. love. kindness. generosity. energy. frenetic.
2020 Feb 06
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...o make this case even stronger: > > > > The oom_pages module parameter was known to be broken: whatever its > > value, we return at most VIRTIO_BALLOON_ARRAY_PFNS_MAX. So module > > parameter values > 256 never worked, and it seems highly unlikely that > > freeing 1Mbyte on OOM is too aggressive. > > There was a patch > > virtio-balloon: deflate up to oom_pages on OOM > > by Wei Wang to try to fix it: > > https://lore.kernel.org/r/1508500466-21165-3-git-send-email-wei.w.wang at intel.com > > but this was dropped. > > Makes sens...
2020 Feb 06
2
[PATCH v1 3/3] virtio-balloon: Switch back to OOM handler for VIRTIO_BALLOON_F_DEFLATE_ON_OOM
...o make this case even stronger: > > > > The oom_pages module parameter was known to be broken: whatever its > > value, we return at most VIRTIO_BALLOON_ARRAY_PFNS_MAX. So module > > parameter values > 256 never worked, and it seems highly unlikely that > > freeing 1Mbyte on OOM is too aggressive. > > There was a patch > > virtio-balloon: deflate up to oom_pages on OOM > > by Wei Wang to try to fix it: > > https://lore.kernel.org/r/1508500466-21165-3-git-send-email-wei.w.wang at intel.com > > but this was dropped. > > Makes sens...
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files. diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile --- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200 +++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200 @@ -156,6 +156,7 @@ clean: archclean rm -f sha1hash errlist.c spotless: clean + rm -f include/klibc/havesyscall.h syscalls.nrs find . \( -name