Questions tagged [buffer]
The buffer tag has no usage guidance.
129
questions
2
votes
1
answer
394
views
How to force `telnet` (in TCP mode) to send bytes immediately?
In Linux, when I run telnet <address> <port> and then type things, it buffers data and only sends collected line when I hit Enter. Furthermore, it buffers up to 4096 characters and ...
0
votes
2
answers
45
views
How to scroll up in PowerShell inside "screen" command?
I'm using Windows 11 Powershell and inside a screen -d -r command that doesn't let me scroll by default. The text inside the screen is too much to fit inside my actual screen! So I'm looking for a way ...
0
votes
1
answer
82
views
Where is hardware buffer often located for USB ports?
This is a pretty broad question. The hardware buffer for USB ports, where is it typically located? I have heard they are typically in the USB controller. I attach what looks like a generic image to me ...
1
vote
0
answers
17
views
Are link control, buffer credits and other fibre channel management messages affected by flow control?
Let's suppose there's a server connected to a fibre channel switch.
They are happily exchanging frames of all kind, until the switch port buffer gets filled up.
If I got correctly how flow control ...
4
votes
0
answers
639
views
How do I make FFPLAY automatically skip ahead while playing a stream without distorting audio?
I've been a long time lurker, but now I've gone and made an account.
Like I said in the title, I want to play an SRT stream with FFPLAY, but whenever a drop in the connection happens, I need it to ...
1
vote
2
answers
2k
views
FFMPEG - Failed locking bitstream buffer: not enough buffer (14): .35x Video encoding failed
I'm trying to use FFmpeg for converting several video files from AVC to HEVC using hevc_nvenc and after it converts the file at the last moment, it gives me this error:
[hevc_nvenc @ 00000293155d5880] ...
1
vote
1
answer
413
views
How does one set a persistent default PowerShell screen buffer height?
I would like to change the default height of the PowerShell screen buffer in Windows 10. (I have not tried to do this on other Windows versions.) It seems like it ought to be very simple.
If I right ...
4
votes
2
answers
4k
views
ffmpeg less verbose, without hiding progress bar
Without editing and recompiling ffmpeg from source, how can one hide some of the many lines that it prints when it starts encoding, without also hiding its progress bar that updates every second or so ...
0
votes
0
answers
110
views
Chrome repeatedly freezes until restart
On my MacBook air which I bought new in December 2019, I've recently been running into Chrome loading issues.
Chrome generally runs fine for around 15-20 minutes after a reboot, after which nothing ...
-3
votes
1
answer
63
views
Is the Internet only a buffering nightmare for me?
So here's the thing. I have a fast fiber connection since many years. It is fast. However, it can never be used directly for privacy reasons, so I have to use a VPN service (paid for with Bitcoin and ...
1
vote
1
answer
358
views
Unblock "less" after follow mode / scrolling past end of buffer
I'm using less to capture the output of a live program. Using F activates follow mode, showing me real-time output. However, after entering follow mode (or, more generally, scrolling past the buffered ...
1
vote
0
answers
1k
views
How to force full-buffer videos on all platforms?
On all the various platforms - e.g. Youtube, Vimeo, Wistia, they have an algorithm to control how much to buffer in advance (e.g. 3% ahead of current playtime). Is there a way in Chrome (e.g. by ...
-1
votes
1
answer
45
views
Restore RAM data from week ago
I would like to know if it is possible to restore Data from a certain of time (week ago). I want to get to buffer of windows dvr clip which record last 30 seconds and make clip from it...
It looks ...
4
votes
1
answer
8k
views
Windows command line window scroll limit
How to set Windows 10 command line window to unlimited scroll by default, like in Ubuntu?
I've set the only two possible option in the property dialog that may be related to buffer to 999, but still ...
0
votes
1
answer
403
views
File transfer between two HDD seems to slow down other activity on main SSD
I experienced some unexpected behavior trying to install a large program (60GB) on to my primary SSD at the same time as I was transferring a large file (2TB) between two HDDs: the installer slowed ...
0
votes
0
answers
443
views
How to scroll much further back in Linux Server running Bash
I am running Bash on the default terminal of a Debian Server (no GUI). I use Shift + Fn + Up key combination to scroll back but cannot view past a certain point. How do I achieve extended (or ...
3
votes
1
answer
1k
views
How to drop memory caches in macOS?
In GNU/Linux there's a way to drop_caches.
drop_caches is the command that would flush caches from the main memory.
I don't have such a command in macOS.
How to..?
1
vote
1
answer
1k
views
How to disable PuTTY to not sending CR at the end of the buffer? [duplicate]
When I send something through PuTTY serial port I receive what I've wrote and an extra character, including a CR. Is a problem because it hasn't happened until now that I've started to use this ...
0
votes
0
answers
92
views
A Driver Buffer Causes a 80 ms Delay When Using the USB WiFi Adapter, ALFA AWUS 036ACH
I have a question about how to reduce delay for packets sent using a USB WiFi adapter, ALFA AWUS 036ACH.
I installed this driver (rtl8812au, version 5.2.20) for my USB WiFi adapter, ALFA AWUS 036ACH ...
1
vote
1
answer
1k
views
*** buffer overflow detected *** in mariadb 10.3.11
We are getting Assertion failure every time memory usage of MySQL spikes up to overall system's memory.
Every time Assertion failure reports different file in code location "/home/buildbot/buildbot/...
0
votes
0
answers
41
views
Eclim - don't switch focus to output
Just starting with Eclim, one of the gripes I still have is the fact that the my cursor is switched away from the file I'm editing when I call :Java. On top of that, it opens a new buffer asking me to ...
2
votes
1
answer
2k
views
Using powershell, how two screenshots can be compared in buffer?
I found this snippet that is working well in a loop for me to take screenshot per minute. I could hash results and compare the two latest screenshots for changes by following this post: (Get-FileHash $...
0
votes
1
answer
540
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
1
answer
86
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 ...
5
votes
2
answers
3k
views
How to programmatically clear buffers and caches in Windows
I need benchmark the speed of some bash commands in a Cygwin environment, and ensure that the tests I'm running don't hit the Windows buffers or the caches. Although I'm doing the benchmarking in a ...
-1
votes
2
answers
711
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 ...
8
votes
2
answers
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\...
3
votes
0
answers
2k
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
1
answer
4k
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
0
answers
57
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 ...
6
votes
3
answers
9k
views
Stop Windows command prompt from scrolling past cursor
I’m using Windows 10 for my current project after more than a decade on macOS / Linux. cmd seems to have come on a bit from Windows XP days, but I’m having one particular problem.
On macOS’s Terminal ...
0
votes
0
answers
431
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
1
answer
306
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. ...
7
votes
1
answer
5k
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
1
answer
54
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
2
answers
8k
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>
...
2
votes
1
answer
823
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?
21
votes
1
answer
21k
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 ...
26
votes
3
answers
40k
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
1
answer
2k
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
2
answers
1k
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 ...
3
votes
1
answer
3k
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
0
answers
120
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 ...
2
votes
1
answer
917
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
0
answers
180
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
1
answer
468
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
1
answer
3k
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
1
answer
75
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 ...
2
votes
1
answer
914
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
1
answer
114
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 ...