Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [buffer]

The tag has no usage guidance.

0
votes
0answers
25 views

Is there a Linux filter like command, which prevents buffer underruns on its output side?

Buffer can underrun, or connections can be closed if data is piped / uploaded to a server. Let's call that hipothetical program "lb" (large buffer). cat data.iso | dvd-writer-app /dev/sr0 DVD ...
0
votes
0answers
46 views

ffmpeg error: packet too large, ignoring buffer limits to mux it - when changing frame rate

This is my mpeg file: Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x1c0]: Audio: mp2, ...
0
votes
1answer
17 views

How do I increase my client UDP receive buffer size in Ubuntu

I have a computer that communicates with a camera via UDP via a physical cable (no router or switch). The camera acts as the UDP server with the computer as client. Once in a while the system hangs ...
2
votes
1answer
30 views

Emacs shell command: Change of behavior between versions 24 and 25?

I have been using the Emacs "shell" command for many years. It starts a shell in the current buffer. This seems to be the case up through Emacs 24. I am now running Emacs 25 (on Linux) and I'm ...
0
votes
0answers
10 views

Vim always stay on the last line in output buffer

So I made myself a build console ini vim using the following funciton: function Printbuild() "let logjob = job_start("cmake\ -Bbuild\ -H.\ &&\ cmake\ --build\ build/\ --\ -j4\ -w", {'...
2
votes
2answers
216 views

How to programmatically clear buffers and caches in Windows

I need to ensure that neither buffers nor caches are being employed before benchmarking the speeds that some bash commands run at in a Cygwin environment. Although I'm doing the benchmarking in Cygwin/...
0
votes
2answers
49 views

Unmanaged ethernet switch buffer behaviour

If I have a typical unmanaged switch connected to a server at 1Gps and several clients at 100Mbps, will the switch buffer the packets? For example, if two clients are downloading files, can the ...
0
votes
0answers
227 views

How to clean buffer with ffmpeg?

I have a script on linux, where I'm using ffmpeg for video streaming. My problem is that I don't know how to clean the buffer, every time I start the video streaming, it plays a short part of my last ...
8
votes
2answers
2k views

Does buffer overflow change data type of variable it is overwriting? [closed]

Say I have a C character array char buf[15]. Say variable int set_me = 0 has its data stored in a memory location directly after char buf[15]. If I overflowed buf with string "aaabbbcccdddeee\xef\xbe\...
0
votes
0answers
295 views

Emacs command to kill other buffer and window

Emacs has the function kill-buffer-and-window mapped to C-x 4 0. Naturally, I expected C-x 4 1 to select the other window, kill the buffer and delete the window. I find myself using C-x o followed by ...
0
votes
1answer
902 views

How to check whether a lagging live stream is the Server or ISP’s fault?

I decided to try out IPTV. At times it works fine but very often almost all channels start buffering at random intervals. I want to figure out whether my ISP is to blame or whether it’s the IPTV ...
1
vote
0answers
33 views

Where is download buffer is getting saved in Windows 7?

Here are the steps to reproduce: Click on download link. You will be prompted to choose where you want to save the file. Do not click on save/cancel until you see entire green bar completed. The ...
0
votes
0answers
183 views

Amazon CloudFront buffering while streaming video to Roku

I'm looking for help on trying to troubleshoot a buffering issue using Amazon's CloudFront service. I've set up an S3 bucket and have it associated with a CloudFront service. I use the service to ...
1
vote
1answer
183 views

Download online video to local PC While Watching it [closed]

Is it possible to download the video same time while watching it? Watching an online video also consumes transferring data. That means we have to spend some mega bytes for the size of that video. ...
2
votes
1answer
318 views

What is <buffer> used for on vim mapping?

From the :help command, in the key mapping section: If the first argument to one of these commands is <buffer> the mapping will be effective in the current buffer only. I don't understand ...
-3
votes
1answer
49 views

When I open CMD no window pops up

When I launch C:\Windows\System32\cmd.exe no window pops up. I see it in my task bar, but I have to right-click the task bar, then hit "New Window". When I go to PowerShell and type Start-Process -...
1
vote
2answers
2k views

Buffer Underfollow and ignoring buffer message of ffmpeg

I just wanted change the volume of mpeg file so try just like this. (The mpeg file is 20Mbps NTSC-HD file) ffmpeg -i <inputfile.mpg> -vcodec copy -filter:a "volume=+3dB" <output.mpg> ...
1
vote
1answer
347 views

Vim remembering buffer list

When I open vim (or gvim), it loads a list of buffers of files I have been working on. I want it to have an empty buffer list on startup. How can I accomplish this?
6
votes
1answer
5k views

Why didn't `dd conv=sparse` save space as I expected?

I was going to make an image of my old USB drive. I had good reasons to expect there were some blocks filled with zeros on the device, so to save some space I used conv=sparse option: dd if=/dev/sdb ...
7
votes
3answers
11k views

Are there any Pros/Cons to the /j Robocopy option (unbuffered copying)

Robocopy has a /J command line option recommended for copying large files (it copies using unbuffered I/O). What (if any) downsides are there? Any reason this isn't enabled by default? (That's what ...
0
votes
1answer
727 views

TCP socket buffer for every flow

Does the linux kernel create a buffer for every TCP connection, for example when we have 1000 tcp connections the kernel creates 1000 socket buffer and stores the packets of individual flow on its ...
0
votes
2answers
542 views

My videoplayer is suddenly buffering local videos

Today I was watching Band of Brothers which I have stored locally on my hard drive in 720p. Watching the first two episodes went perfectly as usual, however when viewing the third episode my Kodi ...
2
votes
1answer
1k views

How to unbuffer stdout when piping commands in cmd.exe under Windows?

Given the following: C:\>perl -E " say STDOUT 111; say STDERR 222; say STDOUT 333; " 111 222 333 C:\>perl -E " say STDOUT 111; say STDERR 222; say STDOUT 333; " | cat 222 111 333 The order of ...
0
votes
0answers
61 views

What causes buffering?

If I have a slow internet connection, what is normally the cause of buffering? In the example of a youtube video, why is there stop and start to my video's progress rather than just a slow developing ...
1
vote
1answer
313 views

Use disk-backed buffer between pipes

I'd like to pipe a command into a slower one, with a rather big (~200GB) buffer in between. Here is an example use-case: command1 | buffer -f file.buffer | command2 Is there a command to do that? ...
0
votes
0answers
133 views

How do I kill mbuffer properly?

I'm trying to use a script to send a series of files over a network from hard drive to hard drive via mbuffer. I've got a listening mbuffer on one computer and a sending mbuffer on the other. Things ...
0
votes
1answer
314 views

Linux TCP buffer simulation

I would like to run simulations on the Linux TCP receive buffer to find out how big my buffer has to be. Is there any software available to perform such simulation? It would be handy to be able to ...
2
votes
1answer
2k views

TCP/IP rx data drop

I have an intermittent problem with receiving data over TCP/IP from a (Windows) server. The data is sent at 160Mbit/s and client application is running on a 64-bit Suse Linux Enterprise server. I am ...
1
vote
1answer
62 views

Why is vim inserting the contents of ". after I leave insert mode

vim is doing something that I can't quite figure out. When I leave insert mode, and navigate with j/k/h/l within a second of doing so, vim appends the contents of the ". buffer. On a tip from How to ...
0
votes
0answers
191 views

Can't get past bios screen after changing On-Chip Frame Buffer Size

I changed the On-Chip Frame Buffer Size on my desktop PC to a high value (something like 468mb?) from the original 64mb+2mb, in hopes of increasing the dedicated video ram. After saving this change I ...
2
votes
1answer
634 views

MacVim / Vim retain content of all buffers (like Sublime Text). Preserve swap?

TL;DR: Can Vim store its swap files, and loads the same set of swap files and buffers on load every time? I'm on a Mac (OS: Maverick), where a number of application keeps the data in some sort of ...
0
votes
1answer
76 views

What manages IO between a buffer and a device?

If I am correct, a buffer is used as an intermediate between a CPU and a device, to free the CPU from waiting for the IO with the device to complete, and to let the CPU do other things Since the cpu ...
0
votes
1answer
1k views

How to decrease microphone buffer size

How do I decrease the microphone buffer size on a Windows 7 Home Premium machine (Sony Vaio notebook)? Sound card is "Realtek High Definition Audio". EDIT: "When recording audio into your computer, ...
4
votes
1answer
19k views

How to make MPC-HC to cache more aggressively

The buffer for streamed video in MPC-HC is too small and can't be expanded in user preferences.
4
votes
0answers
892 views

Shell unbuffering for CygWin: is it possible?

I have tested on CygWin doing "ls -R" with a large directory and sending the output to a Test.txt file, so the process takes about 30 seconds to complete; the file is created, but it is empty; it will ...
0
votes
1answer
113 views

Make the column buffer independent in Putty

How can one set the horizontal scroll buffer in Putty so that it is different from the size of the window? For example, have the window only display 80 columns but the buffer hold 160 columns. I know ...
0
votes
3answers
15k views

Can DNS service affect video streaming speed?

I am using a DNS service ( like unlocator.com) in order for me to watch Netflix.com because I am located outside US. Recently, I found that Netflix ( and also Amazon Prime) videos are very slow and ...
1
vote
1answer
32 views

what is the keys to minimise help frame of emacs

I have a small screen, I typed ? in ediff mode and the control frame enlarges to show me the keybinding. How do I minimise it to its original size after that? Thank you very much!
2
votes
0answers
382 views

Windows 7 command promt number of buffers and buffer size

In Windows 7, the Command Prompt has two configuration options called Buffer Size and Number of Buffers found in the Options tab. Following these instructions, I've tweaked these two values to ...
1
vote
1answer
74 views

Vim - mapping for moving between buffers silently

in my .vimrc I have the following mapping to move between buffers: nnoremap <silent> <C-b> :bp<CR> nnoremap <silent> <C-n> :bn<CR> This mapping works but it ...
1
vote
1answer
1k views

Can a simple buffer-overflow lead to privilege escalation?

I wanted to know, that on an OS such as windows, if someone (a non admin) writes a program in C++ specifically to get a buffer overflow, can he insert shellcode to gain admin rights, without running ...
2
votes
1answer
46 views

RAM buffer access makes beep/screech

When I execute dd if=/dev/zero of=/dev/null bs=1G count=1, I hear a curious, very soft- screeching sound (think HD spinup but shorter, softer, and higher pitched) from where I know my RAM is located (...
0
votes
1answer
701 views

ZFS + dedup: copy many small files fast

I'm running a ZFS backup server (with deduplication) to backup websites and store them with retention. To do this, I transfer all files to the backup server during the first backup, and make a copy of ...
0
votes
1answer
298 views

How to append to screen buffer file?

If I have multiple log files open in several screens and I want to copy all useful traces to a single file, I initially copy them to the screen scrollback buffer file. Doing ">" after selecting text ...
0
votes
2answers
313 views

innodb buffer pool size and munin

I was looking at the below graph of one of my db server's memory usage and have the following question. Is the mysql innodb buffer pool included in the apps or the cache memory allocation? Right now ...
5
votes
1answer
1k views

stdbuf not working while unbuffer does

I am trying to apply timestamps to stdout of a process. For the proper timestamps to be applied, I attempt to unbuffer stdout of the process. This works with unbuffer but not with stdbuf as I would ...
0
votes
1answer
912 views

Is there a way to save youtube buffer before close browser to reopen it later

Is there some plugin or other software to save the downloaded video buffer to reopen the same buffer downloaded later?
3
votes
2answers
175 views

vim command that will do :buff or :e if the file is not already in the buffer?

basically my workflow is as follows I have a bunch of windows open using splits in a terminal in regular vim. Sometimes I have a file open sometimes I don't I usually switch between :buf and :tag to ...
2
votes
2answers
499 views

Vim: Open multiple files in a specified configuration from command line

I use a set of tabs and splits in my Vim window for my workflow. My setup looks something like this: 1st tab with a vertical split showing two buffers. 2nd tab in the following split: -------------...
0
votes
2answers
341 views

Is it possible to undo a :bdelete in Vim?

I've gotten used to Ctrl-Shift-T in Firefox to undo the closing of a tab, is it possible to get similar functionality in Vim? Googling didn't point me towards anything useful for this.