Pkg slow as hell

Status
Not open for further replies.

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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
 
OP
BsDjUsTbSd

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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

Member

Reaction score: 19
Messages: 47

Have you curated the list of available mirrors to a geolocation that is close to you?
 
OP
BsDjUsTbSd

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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.
 

k3y5

Member

Reaction score: 19
Messages: 47

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.
 

k3y5

Member

Reaction score: 19
Messages: 47

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. : )
 

rootbert

Well-Known Member

Reaction score: 106
Messages: 274

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.
 
OP
BsDjUsTbSd

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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
 
OP
BsDjUsTbSd

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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
 

Zirias

Aspiring Daemon

Reaction score: 464
Messages: 961

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.
 

drhowarddrfine

Son of Beastie

Reaction score: 1,634
Messages: 3,677

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.
 

shkhln

Daemon

Reaction score: 663
Messages: 1,648

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.
 
OP
BsDjUsTbSd

BsDjUsTbSd

Member

Reaction score: 3
Messages: 51

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
 

scottro

Daemon

Reaction score: 569
Messages: 1,560

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.
 

gnath

Active Member

Reaction score: 43
Messages: 171

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.
 

rootbert

Well-Known Member

Reaction score: 106
Messages: 274

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
 

rootbert

Well-Known Member

Reaction score: 106
Messages: 274

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!
 

k3y5

Member

Reaction score: 19
Messages: 47

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.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,286
Messages: 33,826

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.
Top