LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-29-2013, 06:43 PM   #16
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077

Been quite a while since I fiddled with Slack, but it looks like there's a package for bootchart. Maybe try that to get some idea of where the time is going.

systemd offers some tools, but I'm guessing not too many have taken up bartgymnast on his offer.
 
Old 11-29-2013, 08:52 PM   #17
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
systemd is not a part of Slackware officially, and Bart is far from having his SlackBuilds completed. There are still many problems with resource and dependency loading with systemd that have yet to be officially addressed, and currently the only solution is a rather complicated one.

Bootchart should work well enough if needed, but in all honesty, he did say his drive was acting as a UDMA ATA-100/133 drive, and he's using ReiserFS on an AMD FX series CPU. That alone should answer some questions and point to a problem at hand, as well as a solution.
 
Old 11-29-2013, 09:20 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Doesn't answer in any why why it used to work, and now apparently doesn't. Need some hard data.
 
Old 11-30-2013, 01:14 AM   #19
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
@ReaperX7 - I appreciate the help, but syg00 is right...in 14.0 things were fine *and* fast, and at first with 14.1 they were the same. It was almost like a sudden, overnight thing that happened and now my boot time has gone through the roof and *mainly* with those three things at/near the end of the boot process - gtk.immodules, gdk.pixbuf.loaders, pango-query modules.

@syg00 - I looked at that 'bootchart' thing, and since I use the huge.smp where in lilo do/how I "append" it like it says to do (it just doesn't say *where* or how to do it in lilo, heh)?
 
Old 11-30-2013, 09:48 AM   #20
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,575

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Try touching the file /etc/forcefsck and rebooting.
 
Old 11-30-2013, 04:34 PM   #21
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
@Richard - The system had actually done that just the other day since it had been 31 reboots in about a week, and it was clean.
 
Old 11-30-2013, 07:34 PM   #22
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,575

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Quote:
Originally Posted by irgunII View Post
@Richard - The system had actually done that just the other day since it had been 31 reboots in about a week, and it was clean.
Every partition? Or do you only have one?
 
Old 11-30-2013, 07:37 PM   #23
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
Actually as software changes, so do the requirements. Sometimes subtley, and sometimes dramatically.

To be honest, yes the cache refreshers do slow down the boot times, and you can move them into cron jobs to ease up things if you are on long up times, but you honestly should take a review of your system overall and start with the most common sense checks. Those cache refreshers work off access times for your disk and the speed of the CPU. This is why I said you need to research ReiserFS against modern hardware, and check your motherboard UEFI's SATA mode setup.

Just because in 14.0 it worked doesn't mean the same software is at work in 14.1 in the same way. Changes have happened since 14.0's software packages are out, and those same packages may not work exactly the same way.
 
Old 11-30-2013, 09:08 PM   #24
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
Quote:
Originally Posted by ReaperX7 View Post
Actually as software changes, so do the requirements. Sometimes subtley, and sometimes dramatically.

To be honest, yes the cache refreshers do slow down the boot times, and you can move them into cron jobs to ease up things if you are on long up times, but you honestly should take a review of your system overall and start with the most common sense checks. Those cache refreshers work off access times for your disk and the speed of the CPU. This is why I said you need to research ReiserFS against modern hardware, and check your motherboard UEFI's SATA mode setup.

Just because in 14.0 it worked doesn't mean the same software is at work in 14.1 in the same way. Changes have happened since 14.0's software packages are out, and those same packages may not work exactly the same way.
Oops...forgot to let you know that the BIOS is still (and apparently I did it with 14.0) set at ahci.

As for the fs thing, it still doesn't explain why it (14.1) worked fine for about a week and then of a sudden decided to take its time on those cache update parts at boot.

Is there a way to check what speed my system is using on these hdd's? They're sata 3's, but I always see 'udma' settings during boot, but I can't be sure if that's just something that's seen but not used and they're getting sata speed.
 
Old 11-30-2013, 09:11 PM   #25
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
Quote:
Originally Posted by Richard Cranium View Post
Every partition? Or do you only have one?
Just the one, sdb, since my / partition and swap are on the sdb drive and /boot and /home are on sda.
 
Old 11-30-2013, 09:52 PM   #26
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 171

Rep: Reputation: 63
These other folks may be on the right track, but you might try something like (as root) `strace -r -o ./output update-gtk-immodules`, then open the file ./output to see where things are hanging up.
 
Old 12-01-2013, 12:48 AM   #27
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,833
Blog Entries: 15

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
Quote:
Originally Posted by irgunII View Post
Oops...forgot to let you know that the BIOS is still (and apparently I did it with 14.0) set at ahci.

As for the fs thing, it still doesn't explain why it (14.1) worked fine for about a week and then of a sudden decided to take its time on those cache update parts at boot.

Is there a way to check what speed my system is using on these hdd's? They're sata 3's, but I always see 'udma' settings during boot, but I can't be sure if that's just something that's seen but not used and they're getting sata speed.
You'd have to research into a Benchmark program probably.

Try using Stress here: http://slackbuilds.org/repository/14.1/system/stress/

If it's set to AHCI then that's saying that there are other system issues possibly.

I have other questions now:

1. How old is your hard drive?

2. What brand and model is it?

3. When you installed 14.1 in place of 14.0, did you perform a complete full clean installation with a reformat of the ReiserFS partition, or did you simply install over the existing software in an upgrade method of installation without repartitioning?

The problems with the ReiserFS are addressed here in this article:

http://lwn.net/Articles/202780/

Be warned it can get a bit technical, but in a nutshell it says that there are issues with it scaling effectively on multi-core CPUs due to a kernel locking feature that prevents certain multi-core CPU functions during read-write phases which can actually make access and read times on modern systems slower than filesystems like EXT3, EXT4, and JFS.

Last edited by ReaperX7; 12-01-2013 at 12:50 AM.
 
Old 12-01-2013, 08:12 AM   #28
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
Quote:
Originally Posted by mlslk31 View Post
These other folks may be on the right track, but you might try something like (as root) `strace -r -o ./output update-gtk-immodules`, then open the file ./output to see where things are hanging up.
Okay, I tried this, but where is './output' at so I can look at it?
 
Old 12-01-2013, 08:20 AM   #29
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 71
Quote:
Originally Posted by ReaperX7 View Post
I have other questions now:

1. How old is your hard drive?

2. What brand and model is it?

3. When you installed 14.1 in place of 14.0, did you perform a complete full clean installation with a reformat of the ReiserFS partition, or did you simply install over the existing software in an upgrade method of installation without repartitioning?
The sdb which holds / and swap, is about 4 years old (S.M.A.R.T. and fsck both say it's in good shape) and the sda which holds /boot and /home, is only two and also in good shape.

Both Western Digitals. (which since ~'95 have worked well for me whereas I've always had bad luck with Seagate's).

The installation was a fresh install, formatting of both drives etc. I've never done an 'upgrade' installation as IMO it's just 'better' (and far easier) to do a clean, fresh install.
 
Old 12-01-2013, 07:42 PM   #30
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 171

Rep: Reputation: 63
Quote:
Originally Posted by irgunII View Post
Okay, I tried this, but where is './output' at so I can look at it?
strace creates a lot of output, so I had "-o ./output" in the command. If this was done, then you should be able to stay in the same directory and type `less ./output` to view the output. Otherwise, you can trim the command down to something like `strace -r update-gtk-immodules` and scroll backwards to see the output. Double-check the name though. It looks like the name of these update scripts have version numbers on the end of them now. Oops.

Start with `strace -r sleep 1` or `strace -r true` to see the output from a short command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How is the minimum file system free space decided? catkin Linux - General 8 08-06-2013 09:34 AM
valid_lft forever preferred_lft forever sulekha Linux - Networking 1 01-10-2013 10:13 AM
Fedora system stuck at system message bus service upon bootup guy_ripper Linux - Software 4 02-16-2009 02:54 PM
Bad CDs make my system hangs forever tanaselia Slackware 5 04-17-2006 03:05 AM
Ok, I decided to make Linux my main system... now please help me in the transition! RobertoBech Mandriva 11 03-09-2004 09:18 PM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration