On Sunday, 28 August 2022 13:24:46 BST Dale wrote:
Is this something I do on the command line or a setting is some file somewhere? I don't even know where to start on this. By the way, I'm maxed out at 32GBs of memory for this mobo. So adding memory isn't a option. Is there even a mobo that has a 64GB option??? :/
This may not help, but it may set you on the right track: man ulimit.
:)
Is this something I do on the command line or a setting is some file somewhere? I don't even know where to start on this. By the way, I'm
maxed out at 32GBs of memory for this mobo. So adding memory isn't a
option. Is there even a mobo that has a 64GB option??? :/
On Sunday, 28 August 2022 13:56:09 BST Peter Humphrey wrote:
On Sunday, 28 August 2022 13:24:46 BST Dale wrote:
Is this something I do on the command line or a setting is some file somewhere? I don't even know where to start on this. By the way, I'm maxed out at 32GBs of memory for this mobo. So adding memory isn't a option. Is there even a mobo that has a 64GB option??? :/
This may not help, but it may set you on the right track: man ulimit.
:)
I'm not sure how you can set a limit for a single application and any of its child processes with ulimit. However, Control Groups (cgroups) can do this easily as long as it has been included in the kernel:
https://wiki.gentoo.org/wiki/OpenRC/CGroups
Also, from what I recall at least some torrent applications can limit the amount of uploading connections and/or throughput - but I haven't used any for years now.
Dale
:-) :-)
<br></div><div>My ROG Strix 570 MB handles up to 128GB. The board and that much memory is pretty expensive though.</div><div><br></div><div>As to your question I suspect sticking the app in a VM would more completely limit memory usage.</div><div><br></div><div>HTH,</div><div>Mark</div></div>
What I would like to do is limit the amount of memory torrent
software can use.
Something I wish linux supported was discardable memory, for
caches/etc. A program should be able to allocate memory while passing
a hint to the kernel saying that the memory is discardable.
Howdy,
As most know, I got a much faster internet and I use torrent software,
quite a lot. I was using Ktorrent and it was OK but it was slow. I started using Qbittorrent and like it better in a way but it has its own speed issues and both affect my desktop response. I did some googling
and used top to figure out that they are using a LOT of memory for
cache. At times, it uses well over half my memory just for cache. It
also gets to a point where it is using swap even tho I have swappiness
set to 1, basically use swap only to prevent a crash from out of memory problems. We all know how slow swap use can make things. As it is, I reduced the number of active files which is not something I want to do.
If I receive, I like to send as well. After all, someone sent to me as well. What I would like to do is limit the amount of memory torrent software can use. I don't know exactly how to do that tho. It's not something I've ever done.
Is this something I do on the command line or a setting is some file somewhere? I don't even know where to start on this. By the way, I'm maxed out at 32GBs of memory for this mobo. So adding memory isn't a option. Is there even a mobo that has a 64GB option??? :/
On 28/08/2022 15:21, Rich Freeman wrote:
Something I wish linux supported was discardable memory, for
caches/etc. A program should be able to allocate memory while passing
a hint to the kernel saying that the memory is discardable.
Linux DOES have that ...
I'm not sure how to use it, but you can pass a flag to open(), which
says "do not cache this file".
On 8/28/22 14:24, Dale wrote:
Howdy,
As most know, I got a much faster internet and I use torrent software,
quite a lot. I was using Ktorrent and it was OK but it was slow. I
started using Qbittorrent and like it better in a way but it has its own
speed issues and both affect my desktop response. I did some googling
and used top to figure out that they are using a LOT of memory for
cache. At times, it uses well over half my memory just for cache. It
also gets to a point where it is using swap even tho I have swappiness
set to 1, basically use swap only to prevent a crash from out of memory
problems. We all know how slow swap use can make things. As it is, I
reduced the number of active files which is not something I want to do.
If I receive, I like to send as well. After all, someone sent to me as
well. What I would like to do is limit the amount of memory torrent
software can use. I don't know exactly how to do that tho. It's not
something I've ever done.
Is this something I do on the command line or a setting is some file
somewhere? I don't even know where to start on this. By the way, I'm
maxed out at 32GBs of memory for this mobo. So adding memory isn't a
option. Is there even a mobo that has a 64GB option??? :/
Not really an answer to your question but here I never had speed/responsiveness/memory issues with transmission (Xfce, 16Gb RAM, 50Mbit/s network bandwidth ):
[I] net-p2p/transmission
Available versions: 3.00-r1^t (~)3.00-r4^t **9999*l^t {appindicator cli gtk lightweight mbedtls nls qt5 systemd test web}
Installed versions: 3.00-r4^t(01:14:38 PM 05/29/2022)(cli nls -appindicator -gtk -lightweight -mbedtls -qt5 -systemd -test)
Homepage: https://transmissionbt.com/
Description: A fast, easy, and free BitTorrent client
I use it without GUI (-gtk -qt5) because I find the web interface just
fine. Also, being server-based it runs regardless of who's logged into
the PC, which is a plus here.
raffaele
How many torrents are you seeding, for a point of comparison?
I use deluge (headless) on my home server, seeding anywhere from 500-
1000 individual torrents, representing ~5TB of total data, and the
process is cruising along at just over 1GB of memory used.
Maybe qbittorrent just doesn't scale well? I feel like I'm on the exceedingly-high end of the spectrum with usage of a torrent program,
but I don't know what everyone else is doing.
How many torrents are you seeding, for a point of comparison?
I use deluge (headless) on my home server, seeding anywhere from 500-
1000 individual torrents, representing ~5TB of total data, and the
process is cruising along at just over 1GB of memory used.
Maybe qbittorrent just doesn't scale well? I feel like I'm on the exceedingly-high end of the spectrum with usage of a torrent program,
but I don't know what everyone else is doing.
Does deluge have a GUI option? Of course, if I put it
on another machine, I may go headless for it. That's one reason I'm asking. Options.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 303 |
Nodes: | 16 (2 / 14) |
Uptime: | 80:18:43 |
Calls: | 6,807 |
Calls today: | 3 |
Files: | 12,328 |
Messages: | 5,400,689 |