Pkg slow as hell

Status
Not open for further replies.
They pkg manager is being slow as hell.
apt on debain based distros is fast COMPARED to pkg
pacman and yay on arch based distros are fast COMPARED to pkg
dnf and yum on fedora are fast COMPARED to pkg

even when pkg's mirrors are fast. they aren't nearly close to the performance of others
why's that. It's getting really annoying
 
I don't appear to be trolling.
You and people like you appear to not give answers to my questions
and just talk generarly
 
k3y5 first of all thanks for trying to help me and be friendly. yes i have tried the available mirrors that are close to me and others in countries close to me but nothing.
 
Have you inspected your wireless network traffic? (wireshark) Is your ISP throttling your connection? I know my network gets a bit wanky if I'm trying to pull down gigs at a time.

I would also check that your wireless driver is setup correctly or test a wired connection if possible.
 
Also, your username makes it look like you're trolling. Its in "sarcasm font," if you will. I don't care. This community is here to help and support, even if you're trolling. : )
 
yes, pkg is painfully slow compared to other package managers, at least on all my systems here in Europe. pkg per se is slow, but the current problems with mirrors do not help neither. My OpenBSD systems always feel a little sluggish compared to FreeBSD, however, when working with pkg they seem lightning fast. I am sorry I can't help, can just confirm your problem and also state that it is annoyingly slow.
 
i am non trolling. My username in my machine linux machine for instance is SuDoSySaDmIn. It's not weird font it's lowercase and uppercase
 
yes, pkg is painfully slow compared to other package managers, at least on all my systems here in Europe. pkg per se is slow, but the current problems with mirrors do not help neither. My OpenBSD systems always feel a little sluggish compared to FreeBSD, however, when working with pkg they seem lightning fast. I am sorry I can't help, can just confirm your problem and also state that it is annoyingly slow.
Thanks man. you are the only one i've found that admits it. that says that basically pkg's mirrors aren't the best.
I like a community when i see people like you who aren't toxic and admit the truth
 
I can only repeat (and please, try it yourself): pkg isn't slow at all, you will see with a repo on your local network. It might be that mirrors are slow indeed, can't say anything about that.
 
Pkg basically does 3 things: querying/updating the package database(s), downloading packages, unpacking packages. In comparison to Arch:
  1. The database is certainly not a bottleneck — SQLite, which is used by pkg, is in fact much faster than Pacman's flat file storage.
  2. Downloading is obviously limited by network/mirrors.
  3. Package installation depends on the compression format (xz vs zstd might be noticeable with a slow CPU) as well as file system (zfs vs ext4) performance.
 
Same here. After 16 years of personal and company usage, I have never had a problem with pkg being slow.

BsDjUsTbSd I strongly suggest you tone things down. This place and these users aren't like your Linux forums you are used to.
btw i don't even use linux forums.
the only forum I just have an account an barely use it is arch forums
 
Do you have ipv6 connectivity? I seem to remember that pkg was defaulting to ipv6 and my ISP, which supposedly has it, doesn't--so it would have to time out before going to ipv4 and fetching packages.
If you try, using pkg -4 is that any quicker?

I don't who was talking about Linux forums, but I guess it depends upon which one. CentOS and Fedora are pretty much good at avoiding nastiness. Those are the only ones that I'm familiar with, and for full disclosure, I'm still a mod on CentOS forums.
 
pkg manager is being slow as hell.
Definitely it is not like hell, compare to others. Like Shkhin said, all managers does those operations. Only difference is total download size for you. In recent time I have seen lot of packet loss for me. Some time this happens but not "really annoying". Use for some more time, you will definitely enjoy it.
 
one tip: use an unprivileged user where possible. "pkg search" as root downloads metadata, and here in central Europe "pkg search" needs roughly 30 seconds (even on a gigabit connection); using "pkg search" as unprivileged user is much faster
 
wow ... the holy gods of FreeBSD mirros just read my words here I think ... "pkg search" as root is currently down to 0.4 seconds. I think I have not experienced this speed in 2020. Awesome!
 
wow ... the holy gods of FreeBSD mirros just read my words here I think ... "pkg search" as root is currently down to 0.4 seconds. I think I have not experienced this speed in 2020. Awesome!

Also why I think the post was taken as trolling. pkg has always been crazy fast and much more dependable then other alternatives.
 
It's not pkg(8) itself that's slow. It's typically the (local) network and/or a mirror. Is pkg(8) itself perfect? No, it's not. Just like any other piece of complex code, this too can and will have bugs. Most of the time it does what it's supposed to do. I've been using it since it became available and never had any major problems with it.

Development of pkg(8) itself happens here: https://github.com/freebsd/pkg
Some additional information: https://wiki.freebsd.org/pkgng

And with that I'm going to close this thread. Intentional or not, it reads like flamebait.
 
Status
Not open for further replies.
Back
Top